mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 7075: Fixed error handling when adding secondary storage failures as long as any errors that would have been captured in the dialog itself.
status 7075: resolved fixed
This commit is contained in:
parent
2da850fa1e
commit
46bd12fa60
@ -999,7 +999,6 @@ function bindAndListMidMenuItems($leftmenu, commandString, jsonResponse1, jsonRe
|
||||
}
|
||||
|
||||
function handleErrorInDialog(XMLHttpResponse, $thisDialog) {
|
||||
handleError(XMLHttpResponse);
|
||||
var start = XMLHttpResponse.responseText.indexOf("h1") + 3;
|
||||
var end = XMLHttpResponse.responseText.indexOf("</h1");
|
||||
var errorMsg = XMLHttpResponse.responseText.substring(start, end);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user