Fix #4318: Flags and appeals should reload page.
This commit is contained in:
@@ -1,6 +1 @@
|
||||
var errors = "<%= j @post_appeal.errors.full_messages.join("; ") %>";
|
||||
if (errors.length > 0) {
|
||||
Danbooru.error(errors);
|
||||
} else {
|
||||
Danbooru.notice("Post appealed");
|
||||
}
|
||||
location.reload();
|
||||
|
||||
Reference in New Issue
Block a user