fixes #134: Appeal option missing

This commit is contained in:
albert
2011-10-15 23:17:55 -04:00
parent 75df5dc1b3
commit d2f2203c33
7 changed files with 16 additions and 7 deletions

View File

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