// 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')
){
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"
);
}