Fix #3061: Add "General" button for related tags on new/edit posts.

This commit is contained in:
evazion
2017-05-26 12:22:13 -05:00
parent f38810bd1c
commit 3ecee91861
3 changed files with 3 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
Danbooru.RelatedTag.initialize_buttons = function() {
this.common_bind("#related-tags-button", "");
this.common_bind("#related-general-button", "general");
this.common_bind("#related-artists-button", "artist");
this.common_bind("#related-characters-button", "character");
this.common_bind("#related-copyrights-button", "copyright");

View File

@@ -84,6 +84,7 @@
</div>
<%= button_tag "Related tags", :id => "related-tags-button", :type => "button" %>
<%= button_tag "General", :id => "related-general-button", :type => "button" %>
<%= button_tag "Artists", :id => "related-artists-button", :type => "button" %>
<%= button_tag "Characters", :id => "related-characters-button", :type => "button" %>
<%= button_tag "Copyrights", :id => "related-copyrights-button", :type => "button" %>

View File

@@ -109,6 +109,7 @@
</div>
<%= button_tag "Related tags", :id => "related-tags-button", :type => "button" %>
<%= button_tag "General", :id => "related-general-button", :type => "button" %>
<%= button_tag "Artists", :id => "related-artists-button", :type => "button" %>
<%= button_tag "Characters", :id => "related-characters-button", :type => "button" %>
<%= button_tag "Copyrights", :id => "related-copyrights-button", :type => "button" %>