User tests: Successful: Unsuccessful:
After the merge of #22287, this pr adapts the remaining javascript and stylesheet imports which were using the old scheme.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_associations com_menus Front End com_contact Libraries |
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-11-06 09:01:09 |
Closed_By | ⇒ | wilsonge |
@wilsonge
I needed, for com_localise, to load codemirror.js and css
I had finally to use
$basePath = 'media/vendor/codemirror/';
// Load Codemirror
HTMLHelper::_('script', $basePath . 'lib/codemirror.js', array('version' => 'auto'));
HTMLHelper::_('stylesheet', $basePath . 'lib/codemirror.css', array('version' => 'auto'));
to get the files loaded.
It did not want to load if relative was set.
Any explanation for that?
Changed to relative.