You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2008/06/25 03:40:44 UTC

svn commit: r671393 - in /ofbiz/trunk/framework: images/webapp/images/selectall.js widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

Author: apatel
Date: Tue Jun 24 18:40:44 2008
New Revision: 671393

URL: http://svn.apache.org/viewvc?rev=671393&view=rev
Log:
Removed Prototype.js specific code from HtmlFormRenderer.

Modified:
    ofbiz/trunk/framework/images/webapp/images/selectall.js
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java

Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=671393&r1=671392&r2=671393&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Tue Jun 24 18:40:44 2008
@@ -282,8 +282,8 @@
   * form of: areaId, target, target parameters [, areaId, target, target parameters...].
 */
 function ajaxSubmitFormUpdateAreas(form, areaCsvString) {
-    submitFormDisableSubmits(form);
-    ajaxSubmitRequestUpdateAreas(form.action, form.serialize(true), areaCsvString);
+    submitFormDisableSubmits($(form));
+    ajaxSubmitRequestUpdateAreas($(form).action, $(form).serialize(true), areaCsvString);
 }
 
 /** Enable auto-completion for text elements.

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?rev=671393&r1=671392&r2=671393&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java Tue Jun 24 18:40:44 2008
@@ -943,9 +943,9 @@
             
             if (ajaxEnabled) {
                 writer.append(" onclick=\"");
-                writer.append("ajaxSubmitFormUpdateAreas($('");
+                writer.append("ajaxSubmitFormUpdateAreas('");
                 writer.append(formId);
-                writer.append("'), '" + createAjaxParamsFromUpdateAreas(updateAreas, null, context));
+                writer.append("', '" + createAjaxParamsFromUpdateAreas(updateAreas, null, context));
                 writer.append("')\"");
             }