MediaWiki:Gadget-PreloadEditor.js: Difference between revisions
MediaWiki interface page
More actions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 2,679: | Line 2,679: | ||
this.root.append(loader); | this.root.append(loader); | ||
this.workspace = | |||
$('<div>') | |||
.addClass( | |||
'preload-editor-workspace' | |||
); | |||
this.root.append(this.workspace); | |||
/* | |||
* Fixed footer | |||
* | |||
* Status messages and save actions live here so they | |||
* remain visible while editing. | |||
*/ | |||
const footer = | |||
$('<div>') | |||
.addClass( | |||
'preload-editor-footer' | |||
); | |||
this.status = | |||
$('<div>') | |||
.addClass( | |||
'preload-editor-status' | |||
); | |||
footer.append( | |||
this.status | |||
); | |||
this.root.append(footer); | |||
this.renderWelcome(); | this.renderWelcome(); | ||
| Line 3,390: | Line 3,406: | ||
) | ) | ||
); | ); | ||
this.root | |||
.find('.preload-editor-footer') | |||
.append(saveBar); | |||
this.workspace.append( | this.workspace.append( | ||
layout | layout | ||
); | ); | ||