This commit is contained in:
albert
2011-08-15 12:14:57 -04:00
parent 63564921e5
commit dafe322b77
2 changed files with 26 additions and 28 deletions

View File

@@ -69,11 +69,9 @@
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 === 'add-to-pool') {
Pool.add_post(post_id, 0);
} else if (s === "apply-tag-script") {
var tag_script = Cookie.get("tag-script");
TagScript.run(post_id, tag_script);
var tag_script = Danbooru.Cookie.get("tag-script");
Danbooru.TagScript.run(post_id, tag_script);
}
e.preventDefault();