Fix mod queue "approve all" approving hidden posts

This commit is contained in:
Toks
2014-01-21 15:58:27 -05:00
parent 200ce6e150
commit dae68a9807
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ $("#c-posts #disapprove").hide();
$("#pending-approval-notice").hide();
$("#c-moderator-post-queues #post-<%= @post.id %>").hide();
$("#c-moderator-post-queues #post-<%= @post.id %>").remove();
Danbooru.notice("Post was hidden");
<% end %>

View File

@@ -32,7 +32,7 @@
<section>
<ul>
<li><h2><%= link_to "Approve", moderator_post_approval_path(:post_id => post.id), :remote => true, :method => :post, :class => "approve-link" %> | <%= link_to "Hide", moderator_post_disapproval_path(:post_id => post.id), :remote => true, :method => :post, :class => 'disapprove-link' %></h2></li>
<li><h2><%= link_to "Approve", moderator_post_approval_path(:post_id => post.id), :remote => true, :method => :post, :class => "approve-link" %> | <%= link_to "Hide", moderator_post_disapproval_path(:post_id => post.id), :remote => true, :method => :post, :class => "disapprove-link" %></h2></li>
<li><strong>Rating</strong>: <%= post.pretty_rating %></li>
<li><strong>Score</strong>: <%= post.score %></li>
<li>