Project

General

Profile

Actions

Bug #65794

closed

Workspaces - Preview "list view" doesn't work

Added by Kay no-lastname-given about 9 years ago. Updated over 8 years ago.

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
                }
            ]
        });
    }

Actions #1

Updated by Tilo Baller over 8 years ago

  • % Done changed from 0 to 100

Problem fixed with issues #66169 and merged in TYPO3 6.2.16 and 7.6.1.

Actions #2

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Closed

Closed as it is reported to being fixed.

Actions

Also available in: Atom PDF