new UI - Snapshot page - delete snapshot - slowly slide up middle menu item and remove the element from DOM.

This commit is contained in:
Jessica Wang 2010-11-08 15:12:34 -08:00
parent b0343e33b0
commit 89cdb61065
1 changed files with 4 additions and 2 deletions

View File

@ -127,8 +127,10 @@ var snapshotActionMap = {
asyncJobResponse: "deletesnapshotresponse",
dialogBeforeActionFn : doSnapshotDelete,
inProcessText: "Deleting snapshot....",
afterActionSeccessFn: function(json, $midmenuItem1, id){
$midmenuItem1.remove();
afterActionSeccessFn: function(json, $midmenuItem1, id){
$midmenuItem1.slideUp("slow", function() {
$(this).remove();
});
clearRightPanel();
snapshotClearRightPanel();
}