Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / Action.js
index eae17c6..4aa2160 100644 (file)
@@ -67,6 +67,7 @@ Roo.form.Action.prototype = {
 
     // default connection failure
     failure : function(response){
+        
         this.response = response;
         this.failureType = Roo.form.Action.CONNECT_FAILURE;
         this.form.afterAction(this, false);
@@ -214,9 +215,7 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
                     (new Date() * 1) + '' + Math.random());
                     
             } 
-            if (this.form.maskEl) {
-                this.form.maskEl.mask("Saving");
-            }
+            
             
             Roo.Ajax.request(Roo.apply(this.createCallback(), {
                 form:this.form.el.dom,
@@ -240,9 +239,7 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
         if (this.haveProgress) {
             Roo.MessageBox.hide();
         }
-        if (this.form.maskEl) {
-            this.form.maskEl.unmask();
-        }
+        
         
         var result = this.processResponse(response);
         if(result === true || result.success){
@@ -261,9 +258,6 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
         if (this.haveProgress) {
             Roo.MessageBox.hide();
         }
-        if (this.form.maskEl) {
-            this.form.maskEl.unmask();
-        }
         
         this.response = response;
         this.failureType = Roo.form.Action.CONNECT_FAILURE;
@@ -313,9 +307,7 @@ Roo.extend(Roo.form.Action.Load, Roo.form.Action, {
     type : 'load',
 
     run : function(){
-        if (this.form.maskEl) {
-            this.form.maskEl.mask("Loading");
-        }
+        
         Roo.Ajax.request(Roo.apply(
                 this.createCallback(), {
                     method:this.getMethod(),
@@ -325,9 +317,7 @@ Roo.extend(Roo.form.Action.Load, Roo.form.Action, {
     },
 
     success : function(response){
-        if (this.form.maskEl) {
-            this.form.maskEl.unmask();
-        }
+        
         var result = this.processResponse(response);
         if(result === true || !result.success || !result.data){
             this.failureType = Roo.form.Action.LOAD_FAILURE;