$this->pageRenderer->addJsFile($this->backPath . 'js/extjs/iframepanel.js');
$this->pageRenderer->addJsFile($resourcePath . 'JavaScript/Ext.ux.plugins.TabStripContainer.js');
- $this->pageRenderer->addJsFile($resourcePath . 'JavaScript/preview.js');
// todo this part should be done with inlineLocallanglabels
$this->pageRenderer->addJsInlineCode('workspace-inline-code', $this->generateJavascript());
modeVbox: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeVbox', TRUE) . "',
modeHbox: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeHbox', TRUE) . "'
};\n");
+
+ $resourcePath = t3lib_extMgm::extRelPath('workspaces') . 'Resources/Public/';
+ $this->pageRenderer->addJsFile($resourcePath . 'JavaScript/preview.js');
}
/**