User:Chaotic Enby/Unblock wizard.js: Difference between revisions

From Test Wiki
Content deleted Content added
No edit summary
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; white-space: pre-wrap">' + text + '</code>');
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 () {