From 79ec053cef90b341346d5d661a78756c7f0a21c9 Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 12 Dec 2018 13:02:04 -0600 Subject: [PATCH] Fix #4009: Tag list is empty when editing tags, causing destructive changes. --- app/views/posts/partials/show/_edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/partials/show/_edit.html.erb b/app/views/posts/partials/show/_edit.html.erb index 11d261a4d..be5b76e3d 100644 --- a/app/views/posts/partials/show/_edit.html.erb +++ b/app/views/posts/partials/show/_edit.html.erb @@ -89,7 +89,7 @@
- <%= f.text_area :tag_string, :size => "60x5", :spellcheck => false, :"data-autocomplete" => "tag-edit", :"data-shortcut" => "e", :value => params[:tag_string] %> + <%= f.text_area :tag_string, :size => "60x5", :spellcheck => false, :"data-autocomplete" => "tag-edit", :"data-shortcut" => "e", :value => post.presenter.split_tag_list_text + " " %>
<%= render "related_tags/buttons" %>