mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
new UI - volumes page - snapshot tab - implement create volume action.
This commit is contained in:
parent
5e36d7ed35
commit
e6c2f7fa0b
@ -848,7 +848,12 @@ var volumeSnapshotActionMap = {
|
|||||||
asyncJobResponse: "createvolumeresponse",
|
asyncJobResponse: "createvolumeresponse",
|
||||||
dialogBeforeActionFn : doCreateVolumeFromSnapshotInVolumePage,
|
dialogBeforeActionFn : doCreateVolumeFromSnapshotInVolumePage,
|
||||||
inProcessText: "Creating Volume....",
|
inProcessText: "Creating Volume....",
|
||||||
afterActionSeccessFn: function(jsonObj) {}
|
afterActionSeccessFn: function(jsonObj, $subgridItem) {
|
||||||
|
var $midmenuItem1 = $("#midmenu_item").clone();
|
||||||
|
$("#midmenu_container").append($midmenuItem1.show());
|
||||||
|
volumeToMidmenu(jsonObj, $midmenuItem1);
|
||||||
|
bindClickToMidMenu($midmenuItem1, volumeToRigntPanel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
"Delete Snapshot": {
|
"Delete Snapshot": {
|
||||||
@ -866,7 +871,7 @@ var volumeSnapshotActionMap = {
|
|||||||
asyncJobResponse: "createtemplateresponse",
|
asyncJobResponse: "createtemplateresponse",
|
||||||
dialogBeforeActionFn : doCreateTemplateFromSnapshotInVolumePage,
|
dialogBeforeActionFn : doCreateTemplateFromSnapshotInVolumePage,
|
||||||
inProcessText: "Creating Template....",
|
inProcessText: "Creating Template....",
|
||||||
afterActionSeccessFn: function(jsonObj) {}
|
afterActionSeccessFn: function(jsonObj, $subgridItem) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user