diff --git a/lib/formslib.php b/lib/formslib.php index 8c368190b60..444a0b313c6 100644 --- a/lib/formslib.php +++ b/lib/formslib.php @@ -49,9 +49,9 @@ function form_init_date_js() { global $CFG; static $done = false; if (!$done) { + //TODO: this is NOT xhtml strict, we will need something like require_css() echo ''; require_js(array('yui_yahoo', 'yui_dom', 'yui_event', 'yui_calendar', 'yui_container')); print_delayed_js_call(1, 'init_date_selectors', array(get_string('firstdayofweek')));