[TASK] Cleanup Ajax URL inline settings 02/28602/5
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 21 Mar 2014 12:27:08 +0000 (13:27 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 23 Mar 2014 09:31:53 +0000 (10:31 +0100)
commit7ccbb22f3c28b38ed6879d0c768b0424a2253276
tree1cc417c60a754e440b09621e3f860f6ea1662e6c
parentca9c89c276557ddfba0bc144029c6c57db180de6
[TASK] Cleanup Ajax URL inline settings

This change streamlines the use of Ajax URLs
by auto-publishing all Ajax URLs to JavaScript
inline settings.

All Ajax URLs can now also be looked up in
JavaScript by providing the AjaxID like that:

var ajaxUrl = TYPO3.settings.ajaxUrls['TxMyExt::process'];

All code has been adapted to reflect this change.

Resolves: #57096
Documentation: #56347
Releases: 6.2
Change-Id: I4a441f51dcb3551874082077c52918b3fc6a9b0f
Reviewed-on: https://review.typo3.org/28602
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
20 files changed:
NEWS.md
typo3/js/tree.js
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Form/Element/InlineElement.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Toolbar/ShortcutToolbarItem.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Resources/Public/JavaScript/DragUploader.js
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.tceforms_suggest.js
typo3/sysext/backend/Resources/Public/JavaScript/loginrefresh.js
typo3/sysext/backend/Resources/Public/JavaScript/modulemenu.js
typo3/sysext/backend/Resources/Public/JavaScript/shortcutmenu.js
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/impexp/Classes/Hook/BackendControllerHook.php [new file with mode: 0644]
typo3/sysext/impexp/ext_localconf.php [new file with mode: 0644]
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/rsaauth/Classes/Hook/BackendHookForAjaxLogin.php