From: Jean-Philippe Lang Date: Mon, 30 Apr 2007 09:09:45 +0000 (+0000) Subject: Added a DropOut effect when removing a block on my page layout. X-Git-Tag: 0.5.1~102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=66d789229d09eacb14e8305ae8056e909da5a0e4;p=redmine.git Added a DropOut effect when removing a block on my page layout. git-svn-id: http://redmine.rubyforge.org/svn/trunk@491 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/my/page_layout.rhtml b/app/views/my/page_layout.rhtml index 28d2dbab8..1e348bf5b 100644 --- a/app/views/my/page_layout.rhtml +++ b/app/views/my/page_layout.rhtml @@ -28,7 +28,7 @@ function afterAddBlock() { } function removeBlock(block) { - $(block).parentNode.removeChild($(block)); + Effect.DropOut(block); updateSelect(); } //]]>