Skip to content

Commit 0a60966

Browse files
committed
Show correct error message after global settings edit
1 parent 2a6e0ac commit 0a60966

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎ui/scripts/globalSettings.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
args.response.success({data: item});
2323
},
2424
error: function(json) {
25-
args.response.error({
26-
message: $.parseJSON(json.responseText).updateconfigurationresponse.errortext
27-
});
25+
args.response.error(parseXMLHttpResponse(json));
2826
}
2927
});
3028
}

0 commit comments

Comments
 (0)