bug 13862: change detailView widget to show error text returned in API response.

This commit is contained in:
Jessica Wang 2012-02-17 14:00:47 -08:00
parent f223d8086c
commit dd62086b4b

View File

@ -165,7 +165,12 @@
}
);
},
error: function(args) {
error: function(args) { //args here is parsed errortext from API response
if(args != null & args.length > 0) {
cloudStack.dialog.notice({
message: args
});
}
$loading.remove();
}
}