mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Add overlay to frame
This is where we can add popups and stuff. Accessible through: this.$$.frame.$overlay Change-Id: Icbc9a114006804a1b9ab74144f0aaf59a15c5466
This commit is contained in:
parent
ec0ffcb0ba
commit
8e273b7d9f
|
@ -130,11 +130,13 @@ ve.ui.Window.prototype.initialize = function () {
|
|||
.addClass( 've-ui-icon-' + this.constructor.static.icon );
|
||||
this.$head = this.$$( '<div class="ve-ui-window-head"></div>' );
|
||||
this.$body = this.$$( '<div class="ve-ui-window-body"></div>' );
|
||||
this.$overlay = this.$$( '<div class="ve-ui-window-overlay"></div>' );
|
||||
|
||||
// Initialization
|
||||
this.frame.$content.append(
|
||||
this.$head.append( this.$icon, this.$title ),
|
||||
this.$body
|
||||
this.$body,
|
||||
this.$overlay
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue