Roo/form/Action.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 10 Nov 2010 06:32:39 +0000 (14:32 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 10 Nov 2010 06:32:39 +0000 (14:32 +0800)
Roo/form/Action.js

index d0e0019..9375cbd 100644 (file)
@@ -231,7 +231,8 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
         }
         this.form.afterAction(this, false);
     },
-    failure : function(response){
+    failure : function(response)
+    {
         this.uploadComplete= true;
         if (this.haveProgress) {
             Roo.MessageBox.hide();
@@ -241,6 +242,7 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
         this.failureType = Roo.form.Action.CONNECT_FAILURE;
         this.form.afterAction(this, false);
     },
+    
     handleResponse : function(response){
         if(this.form.errorReader){
             var rs = this.form.errorReader.read(response);