Navigation Menu

Skip to content

Commit

Permalink
Fixed issue: theme.js not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 12, 2018
1 parent 9147259 commit 1d4c296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/models/TemplateConfiguration.php
Expand Up @@ -714,6 +714,7 @@ protected function changeMotherConfiguration($sType, $aSettings)
$key = array_search($sFileName, $aSettings);
//Yii::app()->clientScript->removeFileFromPackage($this->sPackageName, $sType, $sFileName);
unset($aSettings[$key]);
Yii::app()->clientScript->addFileToPackage($this->oMotherTemplate->sPackageName, $sType, $sFileName);
/* Old way todo
$oTemplate = $this->getTemplateForFile($sFileName, $this);
if (!Yii::app()->clientScript->IsFileInPackage($oTemplate->sPackageName, $sType, $sFileName)) {
Expand Down

0 comments on commit 1d4c296

Please sign in to comment.