Skip to content

Commit

Permalink
MDL-16592 fixed link to nonexistent css, probably caused by recent YU…
Browse files Browse the repository at this point in the history
…I update
  • Loading branch information
skodak committed May 17, 2009
1 parent 34b72bd commit b1ba4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/formslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<style type="text/css">';
echo '@import "' . $CFG->httpswwwroot . '/lib/yui/calendar/assets/skins/sam/calendar.css";';
echo '@import "' . $CFG->httpswwwroot . '/lib/yui/calendar/assets/skins/sam/container.css";';
echo '@import "' . $CFG->httpswwwroot . '/lib/yui/assets/skins/sam/calendar.css";';
echo '</style>';
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')));
Expand Down

0 comments on commit b1ba4d2

Please sign in to comment.