git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/workspaces/trunk@2893
743128fe-103e-dd11-99c4-
001b210b3e58
+2010-11-16 Tolleiv Nietsch <info@tolleiv.de>
+
+ * Fixed bug: #10778 Consider http://bugs.typo3.org/view.php?id=9508 when implementing preview link in new module
+
2010-11-12 Oliver Hader <oliver@tpyo3.org>
* Fixed bug: Typing error and superfluous labels in locallang file
$wsHelpParams = '&tx_workspaces_web_workspacesworkspaces[controller]=Preview';
$wsHelpUrl = $wsSettingsPath . $wsHelpUri . $wsHelpParams;
- $wsBaseUrl = t3lib_div::getIndpEnv('TYPO3_SITE_URL') . 'index.php?id=' . $this->pageId . '&L=' . $language;
+ $viewDomain = t3lib_BEfunc::getViewDomain($this->pageId);
+ $wsBaseUrl = $viewDomain . '/index.php?id=' . $this->pageId . '&L=' . $language;
// @todo - handle new pages here
// branchpoints are not handled anymore because this feature is not supposed anymore