summaryrefslogtreecommitdiffstats
path: root/app/views/my/_block.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/_block.html.erb')
-rw-r--r--app/views/my/_block.html.erb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/my/_block.html.erb b/app/views/my/_block.html.erb
index bd08a4540..813eb2b88 100644
--- a/app/views/my/_block.html.erb
+++ b/app/views/my/_block.html.erb
@@ -1,11 +1,7 @@
<div id="block_<%= block_name.dasherize %>" class="mypage-box">
<div style="float:right;margin-right:16px;z-index:500;">
- <%= link_to_remote "", {
- :url => { :action => "remove_block", :block => block_name },
- :complete => "removeBlock('block_#{block_name.dasherize}')" },
- :class => "close-icon"
- %>
+ <%= link_to "", {:action => "remove_block", :block => block_name}, :method => 'post', :class => "close-icon" %>
</div>
<div class="handle">