BUGFIX Reverted earlier change to ModelAdmin.js statusMessage() display

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63634 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-10-03 22:48:43 +00:00
parent 4541dbb04e
commit 5922029183

View File

@ -276,7 +276,7 @@ $(document).ready(function() {
statusMessage(xhr.statusText, "good"); statusMessage(xhr.statusText, "good");
$(this).each(callback, [response, status, xhr]); $(this).each(callback, [response, status, xhr]);
} else { } else {
errorMessage('Server Error', xhr.statusText); statusMessage('Server Error', xhr.statusText, 'bad');
if(failureCallback) $(this).each(failureCallback, [response, status, xhr]); if(failureCallback) $(this).each(failureCallback, [response, status, xhr]);
} }
} }