added post#annihilate, removed stale post_moderation views

This commit is contained in:
albert
2011-10-15 23:07:50 -04:00
parent 81dc20c58f
commit 57c922ec30
18 changed files with 50 additions and 66 deletions

View File

@@ -0,0 +1 @@
Danbooru.notice("Post was annihilated");

View File

@@ -1 +1,4 @@
$("#post-<%= @post.id %>").remove();
$("#c-posts #delete").hide();
$("#c-posts #undelete").show();
$("#c-post-moderation #post-<%= @post.id %>").remove();
Danbooru.notice("Post was deleted");

View File

@@ -0,0 +1,3 @@
$("#c-posts #delete").show();
$("#c-posts #undelete").hide();
Danbooru.notice("Post was undeleted");