]> source.dussan.org Git - redmine.git/commitdiff
Added a DropOut effect when removing a block on my page layout.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 30 Apr 2007 09:09:45 +0000 (09:09 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 30 Apr 2007 09:09:45 +0000 (09:09 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@491 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/my/page_layout.rhtml

index 28d2dbab8f4acc7024ef41c788f209110538914d..1e348bf5b7de8dce3cd532d72faacc1bcee5ddd2 100644 (file)
@@ -28,7 +28,7 @@ function afterAddBlock() {
 }
 
 function removeBlock(block) {
-    $(block).parentNode.removeChild($(block));
+    Effect.DropOut(block);
     updateSelect();
 }
 //]]>