Permalink
Browse files

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

…ODLE_23_STABLE
  • Loading branch information...
2 parents b43bb8d + 3e0b5f7 commit 3936796042e10982e78a2705560b154c378a5770 Sam Hemelryk committed Jul 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/form/yui/dateselector/dateselector.js
@@ -222,7 +222,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 3936796

Please sign in to comment.