mirror of https://github.com/apache/cloudstack.git
bug 13862: change detailView widget to show error text returned in API response.
This commit is contained in:
parent
f223d8086c
commit
dd62086b4b
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue