Permalink
Browse files

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

…ODLE_22_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jul 10, 2012
2 parents 2064567 + b8fba41 commit 730ff61856b2a64f60c2b3804cdfb2b81507f83d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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]

0 comments on commit 730ff61

Please sign in to comment.