Commit 12ed3972 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fixed location of calendar files for when mahara isn't installed at /

parent 5a16740d
......@@ -1005,7 +1005,7 @@ function pieform_validate(Pieform $form, $values) {
function pieform_element_calendar_configure($element) {
$element['jsroot'] = '/js/jscalendar/';
$element['jsroot'] = get_config('wwwroot') . 'js/jscalendar/';
$element['themefile'] = theme_get_url('style/calendar.css');
$element['imagefile'] = theme_get_url('images/calendar.gif');
$element['language'] = 'en'; // @todo: language file names for the js calendar may need to be changed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment