User:Chaotic Enby/Unblock wizard.js: Difference between revisions
From Test Wiki
Content deleted Content added
Chaotic Enby (talk | contribs) trying... something? |
Chaotic Enby (talk | contribs) trying again |
||
| Line 122: | Line 122: | ||
questionLabels = []; |
questionLabels = []; |
||
break; |
break; |
||
case " |
case "IP_hardblock": |
||
questionLabels = []; |
questionLabels = []; |
||
break; |
break; |
||
| Line 354: | Line 354: | ||
ui.mainStatusLayout.scrollElementIntoView(); |
ui.mainStatusLayout.scrollElementIntoView(); |
||
if (blockType == " |
if (blockType == "IP_hardblock") { |
||
setMainStatus('success', msg('status-redirecting')); |
setMainStatus('success', msg('status-redirecting')); |
||
mw.track('counter.gadget_afcsw.submit_succeeded'); |
mw.track('counter.gadget_afcsw.submit_succeeded'); |
||