MDL-34300 JavaScript: Stop YUI from forcing z-index on moodle-core-notification

This commit is contained in:
Andrew Robert Nicols
2013-02-28 16:54:59 +00:00
parent cce0d9a100
commit 694c4c87ac
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -77,6 +77,10 @@ Y.extend(DIALOGUE, Y.Panel, {
this.after('visibleChange', this.visibilityChanged, this);
this.render();
this.show();
// Workaround upstream YUI bug http://yuilibrary.com/projects/yui3/ticket/2532507
// and allow setting of z-index in theme.
this.get('boundingBox').setStyle('zIndex', null);
},
visibilityChanged : function(e) {
var titlebar;
+1 -1
View File
@@ -864,7 +864,7 @@ sup {vertical-align: super;}
background: none;
border: none;
/* Override the z-index set incorrectly by the YUI dialogue */
z-index: 600!important;
z-index: 600;
}