Permalink
Browse files

speedy: bug fix disabling input fields for admin G7, and hide G4 subg…

…roup on multiple
  • Loading branch information...
MusikAnimal committed Dec 7, 2015
1 parent 1184647 commit 7191d4cb24887b58909033ff7b58df3de5e8e616
Showing with 7 additions and 3 deletions.
  1. +7 −3 modules/twinklespeedy.js
View
@@ -460,7 +460,9 @@ Twinkle.speedy.generateCsdList = function twinklespeedyGenerateCsdList(list, mod
$('[name=openusertalk]').prop('checked',
Twinkle.getPref('openUserTalkPageOnSpeedyDelete').indexOf(normalizedCriterion) !== -1
);
return originalEvent(e);
if ( originalEvent ) {
return originalEvent(e);
}
};
}
@@ -820,7 +822,8 @@ Twinkle.speedy.generalList = [
label: 'Page where the deletion discussion took place: ',
tooltip: 'Must start with "Wikipedia:"',
size: 60
}
},
hideSubgroupWhenMultiple: true
},
{
label: 'G5: Banned or blocked user',
@@ -920,7 +923,8 @@ Twinkle.speedy.generalList = [
label: 'Optional explanation: ',
tooltip: 'Perhaps linking to where the author requested this deletion.',
size: 60
}
},
hideSubgroupWhenSysop: true
},
{
label: 'G8: Pages dependent on a non-existent or deleted page',

0 comments on commit 7191d4c

Please sign in to comment.