diff --git a/ui/scripts/cloud.core.domain.js b/ui/scripts/cloud.core.domain.js index c2518cddd71..4478ec1bf41 100644 --- a/ui/scripts/cloud.core.domain.js +++ b/ui/scripts/cloud.core.domain.js @@ -717,13 +717,11 @@ var domainActionMap = { asyncJobResponse: "deletedomainresponse", inProcessText: "label.action.delete.domain.processing", afterActionSeccessFn: function(json, $midmenuItem1, id) { - $midmenuItem1.slideUp(function() { - $(this).remove(); - if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) { - clearRightPanel(); - domainJsonClearRightPanel(); - } - }); + $midmenuItem1.remove(); + if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) { + clearRightPanel(); + domainJsonClearRightPanel(); + } } } } \ No newline at end of file diff --git a/ui/scripts/cloud.core.ipaddress.js b/ui/scripts/cloud.core.ipaddress.js index 6925292c896..a453abff675 100644 --- a/ui/scripts/cloud.core.ipaddress.js +++ b/ui/scripts/cloud.core.ipaddress.js @@ -1718,14 +1718,11 @@ var ipActionMap = { dialogBeforeActionFn : doReleaseIp, inProcessText: "label.action.release.ip.processing", 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(); - ipClearRightPanel(); - } - }); - + $midmenuItem1.remove(); + if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) { + clearRightPanel(); + ipClearRightPanel(); + } } }, "label.action.enable.static.NAT": { diff --git a/ui/scripts/cloud.core.securitygroup.js b/ui/scripts/cloud.core.securitygroup.js index 0799f936525..b24b1f172a4 100644 --- a/ui/scripts/cloud.core.securitygroup.js +++ b/ui/scripts/cloud.core.securitygroup.js @@ -588,13 +588,11 @@ var securityGroupActionMap = { dialogBeforeActionFn : doDeleteSecurityGroup, inProcessText: "Deleting Security Group....", 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(); - securityGroupClearRightPanel(); - } - }); + $midmenuItem1.remove(); + if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) { + clearRightPanel(); + securityGroupClearRightPanel(); + } } } } \ No newline at end of file diff --git a/ui/scripts/cloud.core.snapshot.js b/ui/scripts/cloud.core.snapshot.js index e63f6a67993..fdfb33b7e76 100644 --- a/ui/scripts/cloud.core.snapshot.js +++ b/ui/scripts/cloud.core.snapshot.js @@ -198,7 +198,8 @@ function snapshotClearDetailsTab() { var $thisTab = $("#right_panel_content #tab_content_details"); $thisTab.find("#id").text(""); $thisTab.find("#name").text(""); - $thisTab.find("#volume_name").text(""); + $thisTab.find("#volume_name").text(""); + $thisTab.find("#state").text(""); $thisTab.find("#interval_type").text(""); $thisTab.find("#account").text(""); $thisTab.find("#domain").text(""); @@ -220,13 +221,11 @@ var snapshotActionMap = { dialogBeforeActionFn : doSnapshotDelete, inProcessText: "label.action.delete.snapshot.processing", 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(); - snapshotClearRightPanel(); - } - }); + $midmenuItem1.remove(); + if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) { + clearRightPanel(); + snapshotClearRightPanel(); + } } } , diff --git a/ui/scripts/cloud.core.volume.js b/ui/scripts/cloud.core.volume.js index ab1f7dcdb7d..23c1d2f0b24 100644 --- a/ui/scripts/cloud.core.volume.js +++ b/ui/scripts/cloud.core.volume.js @@ -601,13 +601,11 @@ var volumeActionMap = { dialogBeforeActionFn : doDeleteVolume, inProcessText: "label.action.delete.volume.processing", 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(); - volumeClearRightPanel(); - } - }); + $midmenuItem1.remove(); + if(id.toString() == $("#right_panel_content").find("#tab_content_details").find("#id").text()) { + clearRightPanel(); + volumeClearRightPanel(); + } } }, "label.action.take.snapshot": {