Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…tification
  • Loading branch information...
commit 03bd9e7b7818491ed808e4aff95e2ed9c6cd0ad1 1 parent cce0d9a
@andrewnicols andrewnicols authored
View
4 lib/yui/notification/notification.js
@@ -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;
View
2  theme/base/style/core.css
@@ -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;
}

0 comments on commit 03bd9e7

Please sign in to comment.
Something went wrong with that request. Please try again.