[claw-cvs] r83 - trunk/main/claw-html.dojo/src/js

achiumenti at common-lisp.net achiumenti at common-lisp.net
Wed Sep 3 17:55:24 UTC 2008


Author: achiumenti
Date: Wed Sep  3 13:55:24 2008
New Revision: 83

Modified:
   trunk/main/claw-html.dojo/src/js/Form.js
Log:
bufix on rewind 

Modified: trunk/main/claw-html.dojo/src/js/Form.js
==============================================================================
--- trunk/main/claw-html.dojo/src/js/Form.js	(original)
+++ trunk/main/claw-html.dojo/src/js/Form.js	Wed Sep  3 13:55:24 2008
@@ -104,7 +104,7 @@
                             var formId = this.id;
                             if (this.enctype != 'multipart/form-data') {
                                 try {
-                                dojo.xhrPost({
+                                    dojo.xhrPost({
                                         url: '#',
                                         load : function (data) {
                                             try {
@@ -113,9 +113,9 @@
                                                 thisForm.onXhrFinish(e);
                                             }
                                         },
-                                    error : function (data) {console.error("!!!!!!",data);thisForm.onXhrFinish(e);},
+                                        error : function (data) {console.error("!!!!!!",data);thisForm.onXhrFinish(e);},
                                         timeout : thisForm.xhrTimeout,
-                                    handleAs : 'json',
+                                        handleAs : 'json',
                                         form : formId,
                                         content : jsonContent });
                                 } catch (e) {alert(e);}



More information about the Claw-cvs mailing list