mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-26649 forms: temp disable problematic call
The new version of the dateselector is causing JS to stop working completely in a lot of forms, so I've disabled temporarily the ofending call to allow other stuff to be integrated and tested.
This commit is contained in:
parent
441b165c12
commit
668aaeb8f3
1 changed files with 3 additions and 2 deletions
5
lib/form/yui/dateselector/dateselector.js
vendored
5
lib/form/yui/dateselector/dateselector.js
vendored
|
@ -87,7 +87,8 @@ YUI.add('moodle-form-dateselector', function(Y) {
|
||||||
// Set the node to the enablecheckbox variable.
|
// Set the node to the enablecheckbox variable.
|
||||||
this.enablecheckbox = node;
|
this.enablecheckbox = node;
|
||||||
// Set the calendar icon status depending on the value of the checkbox.
|
// Set the calendar icon status depending on the value of the checkbox.
|
||||||
this.toggle_calendar_image();
|
// QUICK HACK to keep JS working. MDL-26649. FIXME!
|
||||||
|
// this.toggle_calendar_image();
|
||||||
}
|
}
|
||||||
}, this);
|
}, this);
|
||||||
},
|
},
|
||||||
|
@ -275,4 +276,4 @@ YUI.add('moodle-form-dateselector', function(Y) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}, '@VERSION@', {requires:['base','node','overlay', 'yui2-calendar', 'moodle-form-dateselector-skin']});
|
}, '@VERSION@', {requires:['base','node','overlay', 'yui2-calendar', 'moodle-form-dateselector-skin']});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue