Skip to content

Commit

Permalink
[4.0] Calendar js files not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Oct 6, 2018
1 parent ee01ae1 commit 3f7e217
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/joomla/form/field/calendar.php
Expand Up @@ -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));
?>
<div class="field-calendar">
<?php if (!$readonly && !$disabled) : ?>
Expand Down

0 comments on commit 3f7e217

Please sign in to comment.