summaryrefslogtreecommitdiffstats
path: root/app/views/my
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-13 19:57:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-13 19:57:49 +0000
commit327a6e54da602670d33b33b8054a9aa421e2f09d (patch)
tree337bff6a7bbbe2bcb5b6416aa1a8ed063d7c2648 /app/views/my
parent1946c71b3b2a571bad7002fee1a10608d4dc1257 (diff)
downloadredmine-327a6e54da602670d33b33b8054a9aa421e2f09d.tar.gz
redmine-327a6e54da602670d33b33b8054a9aa421e2f09d.zip
Fix that move/delete links disappear after updating block settings.
git-svn-id: http://svn.redmine.org/redmine/trunk@16393 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my')
-rw-r--r--app/views/my/update_page.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/my/update_page.js.erb b/app/views/my/update_page.js.erb
index 5329f77af..d51ab8105 100644
--- a/app/views/my/update_page.js.erb
+++ b/app/views/my/update_page.js.erb
@@ -1,3 +1,3 @@
<% @updated_blocks.each do |block| %>
- $("#block-<%= block %>").html("<%= escape_javascript render_block_content(block.to_s, @user) %>");
+ $("#block-<%= block %>").replaceWith("<%= escape_javascript render_block(block.to_s, @user) %>");
<% end %>