Added auto versioning to all JavaScript and CSS fiels being added, to insure it reloads when there is an update. Resolves gh-203

This commit is contained in:
2017-12-22 21:46:03 +02:00
parent 26050c771a
commit 98a5803faf
74 changed files with 213 additions and 207 deletions

View File

@ -302,7 +302,7 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
$this->document = JFactory::getDocument();
}
$this->document->setTitle(JText::_('COM_COMPONENTBUILDER_CUSTOM_CODES'));
$this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/custom_codes.css");
$this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/custom_codes.css", array('version' => 'auto'));
}
/**