From b1ba4d22bf3e0f5b0635d0111ee74bac2d475ed3 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 17 May 2009 19:12:46 +0000 Subject: [PATCH] MDL-16592 fixed link to nonexistent css, probably caused by recent YUI update --- lib/formslib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')));