[BUGFIX] JavaScript error when switching to workspace 89/34889/6
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 1 Dec 2014 20:03:48 +0000 (21:03 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 2 Dec 2014 13:09:41 +0000 (14:09 +0100)
commitf588f731595628db2e741d767c6275ec527c1715
tree1e39f1725315b5bf33929ed08ea0fbae848b152b
parent1e68e64ac5d071125287c7d333663f8b350fe609
[BUGFIX] JavaScript error when switching to workspace

Fix a JS error if switching workspaces in toolbar item
if a backend module without pagetree is currently shown.

Resolves: #63492
Releases: master
Change-Id: I65cbc4979bad4b0b3dcee94b72ffdebc9d8b9aff
Reviewed-on: http://review.typo3.org/34889
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js