diff --git a/layouts/joomla/form/field/calendar.php b/layouts/joomla/form/field/calendar.php index a9bbecbda043a..78249477c24e5 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, array('version' => 'auto', 'relative' => true)); +HTMLHelper::_('script', $helperPath, array('version' => 'auto', 'relative' => true)); +HTMLHelper::_('script', 'system/fields/calendar.min.js', array('version' => 'auto', 'relative' => true)); +HTMLHelper::_('stylesheet', 'system/fields/calendar' . $cssFileExt, array('version' => 'auto', 'relative' => true)); ?>