Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / BasicForm.js
index 85c0176..ee8f8a5 100644 (file)
@@ -285,7 +285,7 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
             // eg. if a locking scenario exists..
             // we look for { errors : { needs_confirm : true }} in the response.
             if (
-                (typeof(action.result) != 'undefined') != 'undefined') &&
+                (typeof(action.result) != 'undefined')  &&
                 (typeof(action.result.errors) != 'undefined')  &&
                 (typeof(action.result.errors.needs_confirm) != 'undefined')
           ){
@@ -313,7 +313,7 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
                 Roo.MessageBox.alert("Error",
                     (typeof(action.result) != 'undefined' && typeof(action.result.errorMsg) != 'undefined') ?
                         action.result.errorMsg :
-                        "Saving Failed, please check your entries"
+                        "Saving Failed, please check your entries or try again"
                 );
             }