User:SD0001/GAR-helper.js: Difference between revisions

Content deleted Content added
fix bad promise handling
remove non-functional checkbox to opt out of notifying article creator
Line 38:
label: 'Details',
name: 'details'
});
 
field.append({
type: 'checkbox',
list: [
{
label: 'Notify article creator',
value: 'notify',
name: 'notify',
tooltip: "A notification template will be placed on the creator's talk page if this is checked.",
checked: true
}
]
});
 
Line 72 ⟶ 59:
var form = e.target;
gar.params = {
notify: form.notify.checked,
reason: form.reason.value
};