From 592202918354215512b6f6df79932dfa1fad7fa7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 3 Oct 2008 22:48:43 +0000 Subject: [PATCH] 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 --- javascript/ModelAdmin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ModelAdmin.js b/javascript/ModelAdmin.js index 72ee1de4..cf1e2a32 100644 --- a/javascript/ModelAdmin.js +++ b/javascript/ModelAdmin.js @@ -276,7 +276,7 @@ $(document).ready(function() { statusMessage(xhr.statusText, "good"); $(this).each(callback, [response, status, xhr]); } else { - errorMessage('Server Error', xhr.statusText); + statusMessage('Server Error', xhr.statusText, 'bad'); if(failureCallback) $(this).each(failureCallback, [response, status, xhr]); } }