Remove the nag message when an approver hasn't approved anything
recently. Also remove the modqueue random posts page. As of 3d410398a,
inactive approvers are now warned via dmails.
18 lines
470 B
JavaScript
18 lines
470 B
JavaScript
import Utility from './utility'
|
|
|
|
let ModQueue = {};
|
|
|
|
ModQueue.detailed_rejection_dialog = function() {
|
|
$("#post_disapproval_post_id").val($(this).data("post-id"));
|
|
$("#detailed-rejection-dialog").find("form")[0].reset();
|
|
|
|
Utility.dialog("Detailed Rejection", "#detailed-rejection-dialog");
|
|
return false;
|
|
}
|
|
|
|
$(function() {
|
|
$(document).on("click.danbooru", ".quick-mod .detailed-rejection-link", ModQueue.detailed_rejection_dialog);
|
|
});
|
|
|
|
export default ModQueue
|