diff --git a/app/assets/javascripts/related_tag.js b/app/assets/javascripts/related_tag.js index 12ed65837..58d2eb878 100644 --- a/app/assets/javascripts/related_tag.js +++ b/app/assets/javascripts/related_tag.js @@ -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"); diff --git a/app/views/posts/partials/show/_edit.html.erb b/app/views/posts/partials/show/_edit.html.erb index 57a82a701..6a55411a9 100644 --- a/app/views/posts/partials/show/_edit.html.erb +++ b/app/views/posts/partials/show/_edit.html.erb @@ -84,6 +84,7 @@ <%= 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" %> diff --git a/app/views/uploads/new.html.erb b/app/views/uploads/new.html.erb index a8139028d..a24c6ab0e 100644 --- a/app/views/uploads/new.html.erb +++ b/app/views/uploads/new.html.erb @@ -109,6 +109,7 @@ <%= 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" %>