Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-32297 Forms: Date Picker JS popup is not constraint to parent form

  • Loading branch information...
commit b8fba415a51f119643642b0c7287d227bbc822a0 1 parent 68b0cae
@FMCorz FMCorz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/form/yui/dateselector/dateselector.js
View
2  lib/form/yui/dateselector/dateselector.js
@@ -221,7 +221,7 @@ YUI.add('moodle-form-dateselector', function(Y) {
},
fix_position : function() {
if (this.currentowner) {
- this.panel.set('constrain', this.currentowner.get('node').ancestor('form'));
+ this.panel.set('constrain', Y.one(document.body));
this.panel.set('align', {
node:this.currentowner.get('node').one('select'),
points:[Y.WidgetPositionAlign.BL, Y.WidgetPositionAlign.TL]
Please sign in to comment.
Something went wrong with that request. Please try again.