mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user