Trevor Parscal has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/57154


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/54/57154/1

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: newchange
Gerrit-Change-Id: Icbc9a114006804a1b9ab74144f0aaf59a15c5466
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Trevor Parscal <[email protected]>

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

Reply via email to