Fixed gh-206 to insure that the placeholders are replaced on compilation
This commit is contained in:
@ -3339,7 +3339,8 @@ class Interpretation extends Fields
|
||||
$path = '/administrator/components/com_' . $this->fileContentStatic['###component###'] . '/assets/js/' . $view['settings']->code . '.js';
|
||||
}
|
||||
// add script to file
|
||||
$this->fileContentDynamic[$view['settings']->code]['###' . $TARGET . '_JAVASCRIPT_FILE###'] = $view['settings']->javascript_file;
|
||||
$this->fileContentDynamic[$view['settings']->code]['###' . $TARGET . '_JAVASCRIPT_FILE###']
|
||||
= $this->setPlaceholders($view['settings']->javascript_file, $this->placeholders);
|
||||
// add script to view
|
||||
return PHP_EOL . PHP_EOL . "\t\t//" . $this->setLine(__LINE__) . " Add View JavaScript File" . PHP_EOL . "\t\t" . $this->setIncludeLibScript($path);
|
||||
}
|
||||
|
Reference in New Issue
Block a user