Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-35675-23' of git://github.com/FMCorz/moodle into MO…

…ODLE_23_STABLE
  • Loading branch information...
commit c41d292bce2ee9153fe00493300b99c735c792c0 2 parents 19d964e + 9e5fea4
Dan Poltawski danpoltawski authored

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. +0 3  lib/form/yui/dateselector/dateselector.js
3  lib/form/yui/dateselector/dateselector.js
@@ -115,7 +115,6 @@ YUI.add('moodle-form-dateselector', function(Y) {
115 115 M.form.dateselector.currentowner = this;
116 116 M.form.dateselector.calendar.cfg.setProperty('mindate', new Date(this.yearselect.firstOptionValue(), 0, 1));
117 117 M.form.dateselector.calendar.cfg.setProperty('maxdate', new Date(this.yearselect.lastOptionValue(), 11, 31));
118   - M.form.dateselector.panel.set('constrain', this.get('node').ancestor('form'));
119 118 M.form.dateselector.panel.show();
120 119 M.form.dateselector.fix_position();
121 120 setTimeout(function(){M.form.dateselector.cancel_any_timeout()}, 100);
@@ -184,7 +183,6 @@ YUI.add('moodle-form-dateselector', function(Y) {
184 183 initPanel : function(config) {
185 184 this.panel = new Y.Overlay({
186 185 visible : false,
187   - constrain : true,
188 186 bodyContent : Y.Node.create('<div id="dateselector-calendar-content"></div>'),
189 187 id : 'dateselector-calendar-panel'
190 188 });
@@ -245,7 +243,6 @@ YUI.add('moodle-form-dateselector', function(Y) {
245 243 },
246 244 fix_position : function() {
247 245 if (this.currentowner) {
248   - this.panel.set('constrain', Y.one(document.body));
249 246 this.panel.set('align', {
250 247 node:this.currentowner.get('node').one('select'),
251 248 points:[Y.WidgetPositionAlign.BL, Y.WidgetPositionAlign.TL]

0 comments on commit c41d292

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