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:
Trevor Parscal 2013-04-02 12:10:31 -07:00
parent ec0ffcb0ba
commit 8e273b7d9f

View file

@ -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
);
};