From 0a609668fd0b4940d736becfe0ed5bc517b0794d Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 15 Dec 2011 13:10:54 -0800 Subject: [PATCH] Show correct error message after global settings edit --- ui/scripts/globalSettings.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/scripts/globalSettings.js b/ui/scripts/globalSettings.js index f2486c37ea8..31de3cbf929 100644 --- a/ui/scripts/globalSettings.js +++ b/ui/scripts/globalSettings.js @@ -22,9 +22,7 @@ args.response.success({data: item}); }, error: function(json) { - args.response.error({ - message: $.parseJSON(json.responseText).updateconfigurationresponse.errortext - }); + args.response.error(parseXMLHttpResponse(json)); } }); }