svn commit: r532409 - /ofbiz/trunk/framework/images/webapp/images/selectall.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r532409 - /ofbiz/trunk/framework/images/webapp/images/selectall.js

sichen
Author: sichen
Date: Wed Apr 25 10:14:12 2007
New Revision: 532409

URL: http://svn.apache.org/viewvc?view=rev&rev=532409
Log:
Reverting changes made to the javascript function that disables form buttons.  Fixes bug where submit buttons broke for IE and other browsers.  Please be careful when making changes to these functions and test across browsers.

Modified:
    ofbiz/trunk/framework/images/webapp/images/selectall.js

Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?view=diff&rev=532409&r1=532408&r2=532409
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Wed Apr 25 10:14:12 2007
@@ -202,9 +202,8 @@
     if (button.form.action != null && button.form.action.length > 0) {
         button.disabled = true;
     }
-    button.className = button.className + " disabled";
-    button.value = button.value + "*";
-}                                                                                                                                                                                                                          
+    button.form.submit();
+}
 
 function submitFormEnableButtonByName(formName, buttonName) {
     // alert("formName=" + formName + " buttonName=" + buttonName);


Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r532409 - /ofbiz/trunk/framework/images/webapp/images/selectall.js

David E Jones-2

This WAS tested in IE6. Which version of IE, and which other browsers  
was in broken in, and in what way was it broken?

I agree with being careful about testing in various browsers and  
such, but I also think it's important not to kill functionality  
without looking into things first and being more detailed about the  
problem, and finding a solution to it.

This change was made about 3 weeks ago if I remember right. How is it  
just coming up now?

-David


On Apr 25, 2007, at 11:14 AM, [hidden email] wrote:

> Author: sichen
> Date: Wed Apr 25 10:14:12 2007
> New Revision: 532409
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=532409
> Log:
> Reverting changes made to the javascript function that disables  
> form buttons.  Fixes bug where submit buttons broke for IE and  
> other browsers.  Please be careful when making changes to these  
> functions and test across browsers.
>
> Modified:
>     ofbiz/trunk/framework/images/webapp/images/selectall.js
>
> Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/ 
> webapp/images/selectall.js?view=diff&rev=532409&r1=532408&r2=532409
> ======================================================================
> ========
> --- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
> +++ ofbiz/trunk/framework/images/webapp/images/selectall.js Wed Apr  
> 25 10:14:12 2007
> @@ -202,9 +202,8 @@
>      if (button.form.action != null && button.form.action.length >  
> 0) {
>          button.disabled = true;
>      }
> -    button.className = button.className + " disabled";
> -    button.value = button.value + "*";
> -}
> +    button.form.submit();
> +}
>
>  function submitFormEnableButtonByName(formName, buttonName) {
>      // alert("formName=" + formName + " buttonName=" + buttonName);
>
>


smime.p7s (3K) Download Attachment