### Eclipse Workspace Patch 1.0
#P dojo1_1
Index: src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/AjaxForm.js
===================================================================
--- src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/AjaxForm.js	(revision 708533)
+++ src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/AjaxForm.js	(working copy)
@@ -58,7 +58,7 @@
             content: content,
             form: this.domNode,
             handleAs: "xml",
-            handle: dojo.hitch(this, function(response, ioArgs) { this._handleBrowserUpdate(this, name, response, ioArgs) })
+            handle: dojo.hitch(this, function(response, ioArgs) { this._handleBrowserUpdate(this, name, response, ioArgs); })
         };
         // choose a transport
         if (this.checkForActiveFile(this.domNode)) {            /* check for file-upload fields */
@@ -74,7 +74,7 @@
         // Toggle the click target off, so it does not get resubmitted if another submit is fired before this has finished
         // NB. This must be done after the form is assembled by dojo, or certain onChange handlers may fail
         // Avoid the use of this.lastClickTarget as it may already be out of date
-        if (this.domNode[name]) this.domNode[name].disabled = true;
+        if (this.domNode[name]) {this.domNode[name].disabled = true;}
         dojo.publish(this.getAfterSubmitTopic());
     },

@@ -87,7 +87,7 @@
         // Restore normal cursor
         document.body.style.cursor = "auto";
         // Attempt to re-enable the click target
-        if (this.domNode[name]) this.domNode[name].disabled = false;
+        if (this.domNode[name]){ this.domNode[name].disabled = false;}
         // get a BrowsewrUpdateHandler which will replace the updated parts of the form
         var updater = new cocoon.ajax.BUHandler();
         if (response instanceof Error && response.dojoType == "timeout") {
@@ -98,7 +98,7 @@
             cocoon.ajax.BUHandler.handleError("No xml answer");
         } else {
             // add the continue handler for CForms
-            updater.handlers['continue'] = function() { widget._continue(); }
+            updater.handlers['continue'] = function() { widget._continue(); };
             // Handle browser update directives
             updater.processResponse(response);
         }
