[!!!][TASK] Migrate Workspaces Toolbar JS to jQuery 31/33931/6
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 9 Nov 2014 19:59:35 +0000 (20:59 +0100)
committerBenjamin Mack <benni@typo3.org>
Fri, 14 Nov 2014 11:20:25 +0000 (12:20 +0100)
commitf52bb2be4ee9c7d25474008ee83f0bf3851cf786
tree718a73d7a82ea1d6ea45c339cf474f1c8c8c23b7
parentc526154b16ebf397f7c4af6dfe0e8521928342fb
[!!!][TASK] Migrate Workspaces Toolbar JS to jQuery

In the main effort to replace Prototype.js with
simple RequireJS modules and jQuery, the Toolbar
Menu in the top of the workspaces extension
was replaced by a RequireJS alternative.

Additionally, this patch replaces the ExtDirect
call with a simple AJAX call by jQuery and ajax.php
to become ExtDirect-free for the module.

Additionally, the backend is now re-colored
again when inside a workspace, and the module
menu keeps its current active module when refreshing
dynamically via AJAX.

Resolves: #62800
Releases: master
Change-Id: Ie0bbe2c12dff6e1d3047cad5a175abc6f12393e4
Reviewed-on: http://review.typo3.org/33931
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Resources/Public/JavaScript/modulemenu.js
typo3/sysext/core/Documentation/Changelog/master/Deprecation-62800-WorkspaceToolbarItem.rst [new file with mode: 0644]
typo3/sysext/workspaces/Classes/Controller/AjaxController.php [new file with mode: 0644]
typo3/sysext/workspaces/Classes/Controller/PreviewController.php
typo3/sysext/workspaces/Classes/ExtDirect/ToolbarMenu.php
typo3/sysext/workspaces/Classes/ExtDirect/WorkspaceSelectorToolbarItem.php
typo3/sysext/workspaces/Resources/Private/Templates/Review/Index.html
typo3/sysext/workspaces/Resources/Public/JavaScript/Toolbar/WorkspacesMenu.js [new file with mode: 0644]
typo3/sysext/workspaces/Resources/Public/JavaScript/workspacemenu.js [deleted file]
typo3/sysext/workspaces/ext_tables.php