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:
will 2010-11-09 12:08:01 -08:00
parent 2da850fa1e
commit 46bd12fa60

View File

@ -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);