Roo/form/BasicForm.js
authorAlan Knowles <alan@roojs.com>
Fri, 13 Apr 2012 09:01:50 +0000 (17:01 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 13 Apr 2012 09:01:50 +0000 (17:01 +0800)
Roo/form/BasicForm.js

Roo/form/BasicForm.js

index 7588460..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')
           ){