Actions
Bug #28220
closedPreview with preview button not possible since 49d8f25 (page, list and template module)
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2011-07-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
It seems that 49d8f25 ("[FEATURE] Show info if staged element is edited") caused a regression.
After that revision it is not possible any more to click on the preview icon in the mentioned modules.
Web-View does work although.
The source looks pretty complete, so I guess there is just a JS error:
mod.php:283 Uncaught SyntaxError: Unexpected token ILLEGAL
preview.js:68 Uncaught TypeError: Cannot read property 'Workspaces' of undefined
Looking at the mentioned lines:
/*workspaces.preview.lll*/
TYPO3.LLL.Workspaces = {
visualPreview: 'Visual preview',
listView: 'List view',
livePreview: 'Live',
livePreviewDetail: 'Click this element to hide the workspace version and see the live version of the
mod.php:283 Uncaught SyntaxError: Unexpected token ILLEGAL
page.
',
workspacePreview: 'Workspace',
workspacePreviewDetail: 'Click this element to hide the live version and see the workspace version of the
page.
',
modeSlider: 'Slider',
modeVbox: 'Vertical',
modeHbox: 'Horizontal'
};
The second only is of course only a result of the first problem.
xtype: 'button',
id: 'sizeSliderButtonLive',
cls: 'sliderButton',
text: TYPO3.LLL.Workspaces.livePreview,
preview.js:68 Uncaught TypeError: Cannot read property 'Workspaces' of undefined
tooltip: TYPO3.LLL.Workspaces.livePreviewDetail,
width: 100,
listeners: {
click: {
fn: function () {
Ext.getCmp('sizeSlider').setValue(0);
}
}
}
Actions