bug 7088: show full error message when creating new service offering and new disk offering.

This commit is contained in:
Jessica Wang 2010-11-12 18:33:59 -08:00
parent bf6b848711
commit 198ed9dc2b
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ function initAddDiskOfferingButton($midmenuAddLink1) {
},
error: function(XMLHttpResponse) {
handleError(XMLHttpResponse, function() {
handleErrorInMidMenu(XMLHttpResponse, $midmenuItem1);
afterAddingMidMenuItem($midmenuItem1, false, parseXMLHttpResponse(XMLHttpResponse));
});
}
});

View File

@ -98,7 +98,7 @@ function afterLoadServiceOfferingJSP() {
},
error: function(XMLHttpResponse) {
handleError(XMLHttpResponse, function() {
handleErrorInMidMenu(XMLHttpResponse, $midmenuItem1);
afterAddingMidMenuItem($midmenuItem1, false, parseXMLHttpResponse(XMLHttpResponse));
});
}
});