Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / Action.js
index 31b4f51..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);
@@ -166,8 +167,8 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
                 try  {
                    rdata = Roo.decode(req.responseText)
                 } catch (e) {
-                    Roo.log("Invalid data from server..")
-                    Roo.log(edata)
+                    Roo.log("Invalid data from server..");
+                    Roo.log(edata);
                     return;
                 }
                 if (!rdata || !rdata.success) {
@@ -215,6 +216,7 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
                     
             } 
             
+            
             Roo.Ajax.request(Roo.apply(this.createCallback(), {
                 form:this.form.el.dom,
                 url:this.getUrl(!isPost),
@@ -238,6 +240,7 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, {
             Roo.MessageBox.hide();
         }
         
+        
         var result = this.processResponse(response);
         if(result === true || result.success){
             this.form.afterAction(this, true);
@@ -304,6 +307,7 @@ Roo.extend(Roo.form.Action.Load, Roo.form.Action, {
     type : 'load',
 
     run : function(){
+        
         Roo.Ajax.request(Roo.apply(
                 this.createCallback(), {
                     method:this.getMethod(),
@@ -313,6 +317,7 @@ Roo.extend(Roo.form.Action.Load, Roo.form.Action, {
     },
 
     success : function(response){
+        
         var result = this.processResponse(response);
         if(result === true || !result.success || !result.data){
             this.failureType = Roo.form.Action.LOAD_FAILURE;