[OFBiz] SVN: r7097 - trunk/framework/images/webapp/images

jonesde@svn.ofbiz.org jonesde at svn.ofbiz.org
Tue Mar 28 15:38:52 CST 2006


Author: jonesde
Date: 2006-03-28 15:38:50 -0600 (Tue, 28 Mar 2006)
New Revision: 7097

Modified:
   trunk/framework/images/webapp/images/selectall.js
Log:
Applied patch from Leon Torres to fix problem with submit button disable and submit that sometimes happens in IE, will at least still submit the form

Modified: trunk/framework/images/webapp/images/selectall.js
===================================================================
--- trunk/framework/images/webapp/images/selectall.js	2006-03-28 21:07:56 UTC (rev 7096)
+++ trunk/framework/images/webapp/images/selectall.js	2006-03-28 21:38:50 UTC (rev 7097)
@@ -187,6 +187,8 @@
 
 // prevents doubleposts for <submit> inputs of type "button" or "image"
 function submitFormDisableButton(button) {
-    button.disabled = true;
+    if (button.form.action != null && button.form.action.length > 0) {
+        button.disabled = true;
+    }
     button.form.submit();
 }                                                                                                                                                                                                                          



More information about the Svn mailing list