fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15058] Syncromind: Merge 14936:15027 from trunk


From: sigurdne
Subject: [Fmsystem-commits] [15058] Syncromind: Merge 14936:15027 from trunk
Date: Fri, 13 May 2016 12:05:38 +0000 (UTC)

Revision: 15058
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15058
Author:   sigurdne
Date:     2016-05-13 12:05:37 +0000 (Fri, 13 May 2016)
Log Message:
-----------
Syncromind: Merge 14936:15027 from trunk

Modified Paths:
--------------
    branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php

Modified: branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php
===================================================================
--- branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php 2016-05-13 
12:05:35 UTC (rev 15057)
+++ branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php 2016-05-13 
12:05:37 UTC (rev 15058)
@@ -219,10 +219,12 @@
                        if ($errorMessagePosition_id)
                        {
                                $errorMessagePosition = 
"$('#{$errorMessagePosition_id}')";
+                               $scrollToTopOnError = 'false';
                        }
                        else
                        {
                                $errorMessagePosition = "'top'";
+                               $scrollToTopOnError = 'true';
                        }
 
                        $translation = '';
@@ -332,7 +334,9 @@
                                        form: '#{$form_id}',
                                        validateOnBlur : false,
                                        scrollToTopOnError : false,
-                                       errorMessagePosition : 
{$errorMessagePosition}
+                                       validateHiddenInputs: true,
+                                       errorMessagePosition : 
{$errorMessagePosition},
+                                       scrollToTopOnError: 
{$scrollToTopOnError}
                                });
                        });
 JS;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]