Fix #4009: Tag list is empty when editing tags, causing destructive changes.

This commit is contained in:
evazion 2018-12-12 13:02:04 -06:00
parent 49acf39f13
commit 79ec053cef

View File

@ -89,7 +89,7 @@
</div>
<div>
<%= 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 + " " %>
</div>
<%= render "related_tags/buttons" %>
</div>