mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
new UI - Instance menu - add action "reboot", "destroy"
This commit is contained in:
parent
91420e13e0
commit
a585b37e6a
@ -25,6 +25,16 @@ function clickInstanceGroupHeader($arrowIcon, selectedItemIds) {
|
|||||||
label: "Start",
|
label: "Start",
|
||||||
isAsyncJob: true,
|
isAsyncJob: true,
|
||||||
asyncJobResponse: "startvirtualmachineresponse"
|
asyncJobResponse: "startvirtualmachineresponse"
|
||||||
|
},
|
||||||
|
rebootVirtualMachine: {
|
||||||
|
label: "Reboot",
|
||||||
|
isAsyncJob: true,
|
||||||
|
asyncJobResponse: "rebootvirtualmachineresponse"
|
||||||
|
},
|
||||||
|
destroyVirtualMachine: {
|
||||||
|
label: "Destroy",
|
||||||
|
isAsyncJob: true,
|
||||||
|
asyncJobResponse: "destroyvirtualmachineresponse"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +185,7 @@ function clickInstanceGroupHeader($arrowIcon, selectedItemIds) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//action menu
|
//action menu
|
||||||
$("#action_link").show();
|
$("#action_link").show();
|
||||||
for(var api in actionMap) {
|
for(var api in actionMap) {
|
||||||
var apiInfo = actionMap[api];
|
var apiInfo = actionMap[api];
|
||||||
var $listItem = $("#action_list_item").clone();
|
var $listItem = $("#action_list_item").clone();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user