fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15013] 11


From: sigurdne
Subject: [Fmsystem-commits] [15013] 11
Date: Thu, 12 May 2016 20:03:10 +0000 (UTC)

Revision: 15013
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15013
Author:   sigurdne
Date:     2016-05-12 20:03:10 +0000 (Thu, 12 May 2016)
Log Message:
-----------
11

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.jquery.inc.php

Modified: trunk/phpgwapi/inc/class.jquery.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.jquery.inc.php     2016-05-12 20:02:37 UTC (rev 
15012)
+++ trunk/phpgwapi/inc/class.jquery.inc.php     2016-05-12 20:03:10 UTC (rev 
15013)
@@ -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]