svn commit: r789775 - /ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js

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

svn commit: r789775 - /ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js

apatel-2
Author: apatel
Date: Tue Jun 30 14:55:43 2009
New Revision: 789775

URL: http://svn.apache.org/viewvc?rev=789775&view=rev
Log:
using method passed in options and default to "get"

Modified:
    ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js?rev=789775&r1=789774&r2=789775&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js Tue Jun 30 14:55:43 2009
@@ -676,7 +676,7 @@
       });
       new Ajax.Updater({ success: this.element }, this.url, options);
     } else {
-      var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
+      var options = Object.extend({ method: this.options.method || 'get' }, this.options.ajaxOptions);
       Object.extend(options, {
         parameters: params,
         onComplete: this._boundWrapperHandler,