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 need |
||
| Line 425: | Line 425: | ||
setMainStatus('process', msg('status-saving')); |
setMainStatus('process', msg('status-saving')); |
||
if (demoMode) { |
if (demoMode) { |
||
setMainStatus('success', '<code style="display: block |
setMainStatus('success', '<code style="display: block">' + text + '</code>'); |
||
} else { |
} else { |
||
saveUserTalkPage(userTalk, apiPage.revisions[0].slots.main.content + text).then(function () { |
saveUserTalkPage(userTalk, apiPage.revisions[0].slots.main.content + text).then(function () { |
||