Roo/form/BasicForm.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 06:19:22 +0000 (14:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 06:19:22 +0000 (14:19 +0800)
Roo/form/BasicForm.js

index d1d92bf..5c1b0e7 100644 (file)
@@ -280,9 +280,8 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
             
         }else{
             Roo.callback(o.failure, o.scope, [this, action]);
-            
+            // show an error message if no failed handler is set..
             if (!this.hasListener('actionfailed')) {
-               
                 Roo.MessageBox.alert("Error", "Saving Failed, please check your entries");
             }