User:Chaotic Enby/Unblock wizard.js: Difference between revisions
From Test Wiki
Content deleted Content added
Chaotic Enby (talk | contribs) cleanup |
Chaotic Enby (talk | contribs) debug |
||
| Line 341: | Line 341: | ||
*/ |
*/ |
||
function setMainStatus(type, message) { |
function setMainStatus(type, message) { |
||
debug("a"); |
|||
if (!ui.mainStatusLayout || !ui.mainStatusLayout.isElementAttached()) { |
if (!ui.mainStatusLayout || !ui.mainStatusLayout.isElementAttached()) { |
||
debug("b"); |
|||
ui.fieldset.addItems([ |
ui.fieldset.addItems([ |
||
ui.mainStatusLayout = new OO.ui.FieldLayout(ui.mainStatusArea = new OO.ui.LabelWidget({ |
ui.mainStatusLayout = new OO.ui.FieldLayout(ui.mainStatusArea = new OO.ui.LabelWidget({ |
||
| Line 350: | Line 352: | ||
}) |
}) |
||
]); |
]); |
||
debug("c"); |
|||
} |
} |
||
} |
} |
||