diff --git a/lib/form/yui/dateselector/dateselector.js b/lib/form/yui/dateselector/dateselector.js index 62d732c83d3..4d490e40509 100644 --- a/lib/form/yui/dateselector/dateselector.js +++ b/lib/form/yui/dateselector/dateselector.js @@ -87,7 +87,8 @@ YUI.add('moodle-form-dateselector', function(Y) { // Set the node to the enablecheckbox variable. this.enablecheckbox = node; // 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); }, @@ -275,4 +276,4 @@ YUI.add('moodle-form-dateselector', function(Y) { } } -}, '@VERSION@', {requires:['base','node','overlay', 'yui2-calendar', 'moodle-form-dateselector-skin']}); \ No newline at end of file +}, '@VERSION@', {requires:['base','node','overlay', 'yui2-calendar', 'moodle-form-dateselector-skin']});