Pman.Request.js
[Pman.Core] / Pman.Request.js
index c54f43f..5ec24aa 100644 (file)
@@ -109,8 +109,12 @@ Roo.extend(Pman.Request, Roo.data.Connection, {
             if (Roo.MessageBox.isVisible()) {
                 alert(decode && decode.errorMsg ?  decode.errorMsg : "Error Sending data - return true from failure to remove message");
                 return;
-            }            
-            Roo.MessageBox.alert("Error", decode && decode.errorMsg ?  decode.errorMsg : "Error Sending data");
+            }
+            
+            if(!this.showFailtureDialog){
+                Roo.MessageBox.alert("Error", decode && decode.errorMsg ?  decode.errorMsg : "Error Sending data");
+            }
+            
         }
     }
 });
\ No newline at end of file