[TASK] Refactor flashmessages.js 29/34029/15
authorFrank Nägler <typo3@naegler.net>
Wed, 12 Nov 2014 19:15:56 +0000 (20:15 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sun, 23 Nov 2014 16:07:25 +0000 (17:07 +0100)
commitee6c0772e07d756b9a921715f624c73950215705
treebb6795c1fe1458a67f9f5e18b927c921b1e57a92
parentc96bfd405b8db3dd0b1c29860649e34cd814bc44
[TASK] Refactor flashmessages.js

Refactor flashmessages.js:
* rename to FlashMessages.js
* match severities from PHP flashMessages
* remove ExtJS
* introduce require.js module
* introduce bootstrap alert message code
* init global one time for complete backend
* load component in top context, referenced now with
  top.TYPO3.Flashmessage.* on any page possible

Resolves: #62893
Releases: master
Change-Id: I10a5222a0fbdf371abcc24d2ebb233a8a9fec150
Reviewed-on: http://review.typo3.org/34029
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
16 files changed:
typo3/js/extjs/components/pagetree/javascript/actions.js
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Resources/Public/JavaScript/FlashMessages.js [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/JavaScript/flashmessage_compatibility.js [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/JavaScript/flashmessages.js [deleted file]
typo3/sysext/cms/layout/js/typo3pageModule.js
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-62893-FlashmessageJavaScriptObjectMoved.rst [new file with mode: 0644]
typo3/sysext/extensionmanager/Resources/Public/JavaScript/main.js
typo3/sysext/extensionmanager/Resources/Public/JavaScript/ter.js
typo3/sysext/extensionmanager/Resources/Public/JavaScript/update.js
typo3/sysext/lang/Resources/Public/JavaScript/LangModule.js
typo3/sysext/linkvalidator/Classes/Report/LinkValidatorReport.php
typo3/sysext/t3editor/res/jslib/t3editor.js
typo3/sysext/workspaces/Classes/Controller/PreviewController.php
typo3/sysext/workspaces/Classes/Controller/ReviewController.php