Commit 55ce4a12 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review

Merge "Bug 1835988: Needing to include datepicker *.js files correctly"

parents 61062b0d b6f63ff7
......@@ -271,8 +271,8 @@ function pieform_element_calendar_get_headdata($element) {
$libjs = $element['jsroot'] . 'js/jquery-ui.min.js';
$libcss = $element['jsroot'] . 'css/smoothness/jquery-ui.min.css';
$bootstrapdatetimejs = '/js/bootstrap-datetimepicker/tempusdominus-bootstrap-4.js';
$momentjs = '/js/momentjs/moment-with-locales.min.js';
$bootstrapdatetimejs = get_config('wwwroot') . 'js/bootstrap-datetimepicker/tempusdominus-bootstrap-4.js';
$momentjs = get_config('wwwroot') . 'js/momentjs/moment-with-locales.min.js';
$prev = get_string('datepicker_prevText');
$next = get_string('datepicker_nextText');
$result = array(
......
Markdown is supported
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