Issue Bug Closed

#25807TSFE hook corrupts page output when use previewlink

saito 04/06/11, 18:28 updated 10/02/18, 12:20

Description

I found another issue relate http://forge.typo3.org/issues/13525.

I generate previewlink use $this->ws->generateWorkspacePreviewLink($PID) in workspace.

But javascript error occurred because of
document.domain is empty.

So I hardcoded to fill this line with my BEdomain.

/typo3/sysext/workspaces/Resources/Private/Templates/Preview/Preview.html

—-
//document.domain = ‘{backendDomain}’;
document.domain = ‘myBEdomain’;
—-

Is there any solution?

This issue occurred IE7 or 8. (I don’t test with 9)

thanks.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.