diff --git a/layouts/joomla/form/field/calendar.php b/layouts/joomla/form/field/calendar.php index a9bbecbda043a..50dccd76bac29 100644 --- a/layouts/joomla/form/field/calendar.php +++ b/layouts/joomla/form/field/calendar.php @@ -97,10 +97,10 @@ $cssFileExt = ($direction === 'rtl') ? '-rtl.css' : '.css'; // The static assets for the calendar -HTMLHelper::_('script', $localesPath, false, true, false, false, true); -HTMLHelper::_('script', $helperPath, false, true, false, false, true); -HTMLHelper::_('script', 'system/fields/calendar.min.js', false, true, false, false, true); -HTMLHelper::_('stylesheet', 'system/fields/calendar' . $cssFileExt, array(), true); +HTMLHelper::_('script', $localesPath, ['version' => 'auto', 'relative' => true]); +HTMLHelper::_('script', $helperPath, ['version' => 'auto', 'relative' => true]); +HTMLHelper::_('script', 'system/fields/calendar.min.js', ['version' => 'auto', 'relative' => true]); +HTMLHelper::_('stylesheet', 'system/fields/calendar' . $cssFileExt, ['version' => 'auto', 'relative' => true]); ?>