User:Chaotic Enby/Unblock wizard.js: Difference between revisions
From Test Wiki
Content deleted Content added
Chaotic Enby (talk | contribs) No edit summary |
Chaotic Enby (talk | contribs) No edit summary |
||
| Line 376: | Line 376: | ||
location.href = "https://utrs-beta.wmflabs.org/public/appeal/account"; |
location.href = "https://utrs-beta.wmflabs.org/public/appeal/account"; |
||
}, config.redirectionDelay); |
}, config.redirectionDelay); |
||
} else if (!("id" in block)) { |
} else if (blockType != "IP" && !("id" in block)) { |
||
setMainStatus('warning', msg('status-not-blocked')); |
setMainStatus('warning', msg('status-not-blocked')); |
||
} else { |
} else { |
||