Skip to content
Browse files

BUGFIX Don't invoke statusMessage() in LeftAndMain.EditForm.js form s…

…ave callbacks, its already handled in LeftAndMain.js for global ajax completion callbacks

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92835 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 45f8728 commit d732ee4c26369106f6f8b22df213312f65f6c4ea @chillu chillu committed Nov 21, 2009
Showing with 0 additions and 2 deletions.
  1. +0 −2 javascript/LeftAndMain.EditForm.js
View
2 javascript/LeftAndMain.EditForm.js
@@ -282,8 +282,6 @@
if(this.hasClass('validationerror')) {
// TODO validation shouldnt need a special case
statusMessage(ss.i18n._t('ModelAdmin.VALIDATIONERROR', 'Validation Error'), 'bad');
- } else {
- statusMessage(_statusMessage, (xmlhttp.status >= 400) ? 'bad' : 'good');
}
}
});

0 comments on commit d732ee4

Please sign in to comment.
Something went wrong with that request. Please try again.