mirror of https://github.com/apache/cloudstack.git
new UI - instance page - enable HA, disable HA - show info icon (successful or error) after action is complete.
This commit is contained in:
parent
2ff3b59077
commit
d27d0e617a
|
|
@ -275,10 +275,14 @@ function doActionForMidMenu(id, $actionLink, apiCommand) {
|
|||
async: false,
|
||||
success: function(json) {
|
||||
$midmenuItem1.find("#content").removeClass("inaction");
|
||||
$midmenuItem1.find("#spinning_wheel").hide();
|
||||
$midmenuItem1.find("#spinning_wheel").hide();
|
||||
$midmenuItem1.find("#info_icon").removeClass("error").show();
|
||||
$midmenuItem1.data("afterActionInfo", (label + " action succeeded."));
|
||||
afterActionSeccessFn(json, $midmenuItem1);
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
$midmenuItem1.find("#content").removeClass("inaction");
|
||||
$midmenuItem1.find("#spinning_wheel").hide();
|
||||
handleErrorInMidMenu(XMLHttpResponse, $midmenuItem1);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue