7 lines
210 B
Plaintext
7 lines
210 B
Plaintext
var errors = "<%= j @post_appeal.errors.full_messages.join("; ") %>";
|
|
if (errors.length > 0) {
|
|
$(window).trigger("danbooru:error", errors);
|
|
} else {
|
|
$(window).trigger("danbooru:notice", "Post appealed");
|
|
}
|