16 lines
369 B
Plaintext
16 lines
369 B
Plaintext
<% if @post_disapproval.errors.any? %>
|
|
|
|
Danbooru.error("Error: " + <%= @post_disapproval.errors.full_messages.join("; ").to_json.html_safe %>);
|
|
|
|
<% else %>
|
|
|
|
$("#c-posts #approve").hide();
|
|
$("#c-posts #disapprove").hide();
|
|
|
|
$("#pending-approval-notice").hide();
|
|
|
|
$("#c-moderator-post-queues #post-<%= @post.id %>").hide();
|
|
Danbooru.notice("Post was hidden");
|
|
|
|
<% end %>
|