style/js fixes

This commit is contained in:
albert
2011-11-03 16:30:06 -04:00
parent 694eefd314
commit d09e80d2f4
11 changed files with 45 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
var errors = "<%= j @post_appeal.errors.full_messages.join("; ") %>";
if (errors.length > 0) {
Danbooru.j_error(errors);
Danbooru.error(errors);
} else {
Danbooru.j_alert("Appeal", "Post appealed");
Danbooru.notice("Post appealed");
}