mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
issue 369 when ruleset file modified, then ruleset js file must dynamic recreate
this bug fixed document.controller.php file : indent changed git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9495 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0016c7963a
commit
5afc0b7587
3 changed files with 28 additions and 21 deletions
|
|
@ -1121,7 +1121,14 @@ class Context {
|
|||
* @brief Add the js file
|
||||
* @deprecated
|
||||
**/
|
||||
function addJsFile($file, $optimized = false, $targetie = '',$index=0, $type='head') {
|
||||
function addJsFile($file, $optimized = false, $targetie = '',$index=0, $type='head', $isRuleset = false) {
|
||||
if($isRuleset)
|
||||
{
|
||||
$validator = new Validator($file);
|
||||
$validator->setCacheDir('files/cache');
|
||||
$file = $validator->getJsPath();
|
||||
}
|
||||
|
||||
is_a($this,'Context')?$self=&$this:$self=&Context::getInstance();
|
||||
$self->oFrontEndFileHandler->loadFile(array($file, $type, $targetie, $index));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue