From: skodak Date: Sun, 17 May 2009 19:12:46 +0000 (+0000) Subject: MDL-16592 fixed link to nonexistent css, probably caused by recent YUI update X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b1ba4d22bf3e0f5b0635d0111ee74bac2d475ed3;p=moodle.git MDL-16592 fixed link to nonexistent css, probably caused by recent YUI update --- diff --git a/lib/formslib.php b/lib/formslib.php index 8c368190b6..444a0b313c 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')));