[Jifty-commit] r4821 - jifty/branches/jquery/share/web/static/js

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Jan 11 11:07:44 EST 2008


Author: gugod
Date: Fri Jan 11 11:07:43 2008
New Revision: 4821

Modified:
   jifty/branches/jquery/share/web/static/js/jifty.js

Log:
Replace another trivial Ajax.Request with jQuery.ajax


Modified: jifty/branches/jquery/share/web/static/js/jifty.js
==============================================================================
--- jifty/branches/jquery/share/web/static/js/jifty.js	(original)
+++ jifty/branches/jquery/share/web/static/js/jifty.js	Fri Jan 11 11:07:43 2008
@@ -316,10 +316,11 @@
 
     submit: function() {
         show_wait_message();
-        new Ajax.Request(
-            '/empty',
-            { parameters: this.serialize() }
-        );
+        jQuery.ajax({
+            url: '/empty',
+            type: 'post',
+            data: this.serialize()
+        });
         hide_wait_message();
     },
 


More information about the Jifty-commit mailing list