in js/details.js [872:902]
function invokeRedirectToSetter() {
ChangeList = getCheckedBugIds();
// Can handle multiple bugs, however if they set a comment, spam bocking
// will probably get in the way.
if (!ChangeList.length)
return;
let bug = getBugRec(ChangeList[0]);
if (bug == null)
return;
document.getElementById('prompt-redirect-confirm-bugcount').textContent = ChangeList.length;
document.getElementById('prompt-setter').textContent = trimAddress(bug.nisetter);
let dlg = document.getElementById("prompt-redirect-confirm");
dlg.returnValue = "cancel";
dlg.addEventListener('close', (event) => {
if (dlg.returnValue == 'confirm') {
let comment = document.getElementById("prompt-redirect-confirm-comment").value;
if (!comment.length) {
comment = null;
}
queueChanges('redirect-flag', comment);
} else {
// Update buttons after cancel
updateButtonsState();
}
}, { once: true });
dlg.show();
}