This commit is contained in:
albert
2013-02-28 15:06:22 -08:00
parent 2dbd7b180f
commit e3892e09c9
4 changed files with 26 additions and 3 deletions

View File

@@ -109,6 +109,8 @@
Danbooru.Post.update(post_id, {"post[is_rating_locked]": "1"});
} else if (s === 'lock-note') {
Danbooru.Post.update(post_id, {"post[is_note_locked]": "1"});
} else if (s === 'approve') {
Danbooru.Post.approve(post_id);
} else if (s === "apply-tag-script") {
var tag_script = Danbooru.Cookie.get("tag-script");
Danbooru.TagScript.run(post_id, tag_script);