mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
cloudStack UI - secondary storage page - remove middle menu item after Delete Secondary Storage action succeeds.
This commit is contained in:
parent
ed611fa200
commit
650b19cc73
@ -167,10 +167,14 @@ var secondaryStorageActionMap = {
|
||||
isAsyncJob: false,
|
||||
dialogBeforeActionFn: doDeleteSecondaryStorage,
|
||||
inProcessText: "label.action.delete.secondary.storage.processing",
|
||||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
secondaryStorageClearRightPanel();
|
||||
}
|
||||
afterActionSeccessFn: function(json, $midmenuItem1, id) {
|
||||
$midmenuItem1.slideUp("slow", function() {
|
||||
$(this).remove();
|
||||
if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) {
|
||||
clearRightPanel();
|
||||
secondaryStorageClearRightPanel();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user