Merge branch 'master' of github.com:r888888888/danbooru
This commit is contained in:
@@ -236,7 +236,10 @@
|
|||||||
$("#edit").show();
|
$("#edit").show();
|
||||||
$("#comments").hide();
|
$("#comments").hide();
|
||||||
$("#share").hide();
|
$("#share").hide();
|
||||||
$("#post_tag_string").focus();
|
var tag_string_textarea = $("#post_tag_string");
|
||||||
|
var tag_string = tag_string_textarea.val();
|
||||||
|
tag_string_textarea.focus();
|
||||||
|
tag_string_textarea.val("").val(tag_string);
|
||||||
$("#related-tags-button").trigger("click");
|
$("#related-tags-button").trigger("click");
|
||||||
$("#find-artist-button").trigger("click");
|
$("#find-artist-button").trigger("click");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
<div class="input">
|
<div class="input">
|
||||||
<div>
|
<div>
|
||||||
<%= f.label :tag_string, "Tags" %>
|
<%= f.label :tag_string, "Tags" %>
|
||||||
<%= f.text_area :tag_string , :size => "50x3" %>
|
<%= f.text_area :tag_string , :size => "50x3", :value => post.tag_string + " " %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= button_tag "Related tags", :id => "related-tags-button", :type => "button" %>
|
<%= button_tag "Related tags", :id => "related-tags-button", :type => "button" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user