Skip to content

Commit

Permalink
MDL-34741 use 2in3 in date selector form element
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Aug 11, 2012
1 parent 3b715c5 commit 6adabe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/form/yui/dateselector/dateselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ YUI.add('moodle-form-dateselector', function(Y) {
Y.one('#dateselector-calendar-panel').on('click', function(e){e.halt();});
Y.one(document.body).on('click', this.document_click, this);

this.calendar = new YAHOO.widget.Calendar(document.getElementById('dateselector-calendar-content'), {
this.calendar = new Y.YUI2.widget.Calendar(document.getElementById('dateselector-calendar-content'), {
iframe: false,
hide_blank_weeks: true,
start_weekday: config.firstdayofweek,
Expand Down

0 comments on commit 6adabe4

Please sign in to comment.