BUGFIX Don't invoke statusMessage() in LeftAndMain.EditForm.js form save 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
This commit is contained in:
Ingo Schommer 2009-11-21 03:20:28 +00:00
parent 45f87288fc
commit d732ee4c26

View File

@ -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');
}
}
});