Commit cbf9d03b authored by r888888888's avatar r888888888

fixes #3320

parent 12a815a5
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment