jenkins-bot has submitted this change and it was merged.

Change subject: Add overlay to frame
......................................................................


Add overlay to frame

This is where we can add popups and stuff.

Accessible through: this.$$.frame.$overlay

Change-Id: Icbc9a114006804a1b9ab74144f0aaf59a15c5466
---
M modules/ve/ui/ve.ui.Window.js
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Robmoen: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ve/ui/ve.ui.Window.js b/modules/ve/ui/ve.ui.Window.js
index 9d5fe5e..5d20309 100644
--- a/modules/ve/ui/ve.ui.Window.js
+++ b/modules/ve/ui/ve.ui.Window.js
@@ -130,11 +130,13 @@
                .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
        );
 };
 

-- 
To view, visit https://gerrit.wikimedia.org/r/57154
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icbc9a114006804a1b9ab74144f0aaf59a15c5466
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Trevor Parscal <[email protected]>
Gerrit-Reviewer: Robmoen <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to