From fc6a551ac7eb3ce0ee50ab89976c73e231798ebf Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Sat, 25 Sep 2010 15:41:56 -0700 Subject: [PATCH] new UI - slowly slide up snapshot after deleting it. --- ui/new/scripts/cloud.core2.volume.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/new/scripts/cloud.core2.volume.js b/ui/new/scripts/cloud.core2.volume.js index ad6b218b802..86203144d97 100644 --- a/ui/new/scripts/cloud.core2.volume.js +++ b/ui/new/scripts/cloud.core2.volume.js @@ -861,8 +861,10 @@ var volumeSnapshotActionMap = { isAsyncJob: true, asyncJobResponse: "deletesnapshotresponse", inProcessText: "Deleting snapshot....", - afterActionSeccessFn: function(id) { - $("#volume_snapshot_"+id).remove(); + afterActionSeccessFn: function(id) { + $("#volume_snapshot_"+id).slideUp("slow", function() { + $(this).remove(); + }); } } ,