User:Chaotic Enby/Unblock wizard.js: Difference between revisions
From Test Wiki
Content deleted Content added
Chaotic Enby (talk | contribs) test |
Chaotic Enby (talk | contribs) debug |
||
| Line 84: | Line 84: | ||
var emptyFields = false; |
var emptyFields = false; |
||
var emptyFieldsWarned = false; |
var emptyFieldsWarned = false; |
||
var mainPosition = 0; |
|||
function init() { |
function init() { |
||
| Line 344: | Line 345: | ||
if (!ui.mainStatusLayout || !ui.mainStatusLayout.isElementAttached()) { |
if (!ui.mainStatusLayout || !ui.mainStatusLayout.isElementAttached()) { |
||
debug("b"); |
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 355: | Line 357: | ||
} else { |
} else { |
||
debug("ee"); |
debug("ee"); |
||
ui.mainStatusLayout = new OO.ui.FieldLayout(ui.mainStatusArea = new OO.ui.LabelWidget({ |
|||
label: $('<div>') |
|||
| ⚫ | |||
.append(linkify(message)) |
|||
}), { |
|||
ui.mainStatusArea.setData(data); |
|||
align: 'top' |
|||
}); |
|||
debug("ff"); |
debug("ff"); |
||
} |
} |
||