mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'wip-mdl-39332' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
4ce97aed0d
5
lib/form/yui/dateselector/dateselector.js
vendored
5
lib/form/yui/dateselector/dateselector.js
vendored
@ -204,8 +204,11 @@ YUI.add('moodle-form-dateselector', function(Y) {
|
||||
bodyContent : Y.Node.create('<div id="dateselector-calendar-content"></div>'),
|
||||
id : 'dateselector-calendar-panel'
|
||||
});
|
||||
this.panel.removeAttr('zIndex'); // z-index is set by the theme.
|
||||
this.panel.render(document.body);
|
||||
// zIndex is added by panel.render() and is set to 0.
|
||||
// Remove zIndex from panel, as this should be set by CSS. This can be done by removeAttr but
|
||||
// ie8 fails and there is know issue for it.
|
||||
Y.one('#dateselector-calendar-panel').setStyle('zIndex', null);
|
||||
this.panel.on('heightChange', this.fix_position, this);
|
||||
|
||||
Y.one('#dateselector-calendar-panel').on('click', function(e){e.halt();});
|
||||
|
Loading…
x
Reference in New Issue
Block a user