fixes #3320
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
|
||||
$("#recent-pools li").click(function(e) {
|
||||
e.preventDefault();
|
||||
$("#pool_name").val($(this).html());
|
||||
$("#pool_name").val($(this).attr("data-value"));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<h1>Recent Pools</h1>
|
||||
<ul id="recent-pools">
|
||||
<% recent_updated_pools.each do |pool| %>
|
||||
<li><%= pool.pretty_name %></li>
|
||||
<%= content_tag :li, pool.pretty_name, "data-value" => pool.name %>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -74,7 +74,7 @@ h2. Update
|
||||
The base URL is PUT /posts/$id.json where $id is the post id.
|
||||
|
||||
* [b]post[tag_string][/b] A space delimited list of tags.
|
||||
* [b]post[rating][/b] The rating for the post. Can be: safe, questionable, or explicit.
|
||||
* [b]post[rating][/b] The rating for the post. Can be: s (for safe), q (for questionable), or e (for explicit).
|
||||
* [b]post[source][/b] If this is a URL, Danbooru will download the file.
|
||||
* [b]post[parent_id][/b] The ID of the parent post.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user