Actions
Bug #65794
closedWorkspaces - Preview "list view" doesn't work
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2015-03-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
In the preview the "list view"-Tab does not work. The reason is that the TYPO3.Workspaces.Tabs could not be rendered, so a javascript-error occurs.
TYPO3.Workspaces.Tabs = new Ext.Panel({ renderTo: 'workspacetabs', autoWidth: true, layout: 'fit', items: [ { xtype: 'WorkspacesTabPanel', unstyled: true, items: TYPO3.settings.Workspaces.workspaceTabs, activeTab: 'workspace-' + TYPO3.settings.Workspaces.activeWorkspaceId } ] });
In the Nodoc.html or SingleIndex.html, the element '<div id="workspacetabs"></div>' does not exist.
This is right, because the tabs should not render in this list. So you have to check if the element exists.
// only is '<div id="workspacetabs"></div>' is set if(Ext.get('workspacetabs')) { TYPO3.Workspaces.Tabs = new Ext.Panel({ renderTo: 'workspacetabs', autoWidth: true, layout: 'fit', items: [ { xtype: 'WorkspacesTabPanel', unstyled: true, items: TYPO3.settings.Workspaces.workspaceTabs, activeTab: 'workspace-' + TYPO3.settings.Workspaces.activeWorkspaceId } ] }); }
Updated by Tilo Baller almost 9 years ago
- % Done changed from 0 to 100
Problem fixed with issues #66169 and merged in TYPO3 6.2.16 and 7.6.1.
Updated by Wouter Wolters almost 9 years ago
- Status changed from New to Closed
Closed as it is reported to being fixed.
Actions