[BUGFIX] Fix usage of moment.js in Language 23/39523/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 13 May 2015 09:03:06 +0000 (11:03 +0200)
committerFrank Nägler <typo3@naegler.net>
Fri, 15 May 2015 13:53:24 +0000 (15:53 +0200)
Fix the import of moment.js in the RequireJS module used
in the Language backend module.

Resolves: #66931
Releases: master
Change-Id: I8cf669f05d04c36496354a1b7133cc0bda4233cc
Reviewed-on: http://review.typo3.org/39523
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js

index f104519..cf99838 100644 (file)
@@ -16,7 +16,7 @@
  *
  * @author Kai Vogel <k.vogel@reply.de>
  */
-define('TYPO3/CMS/Lang/LanguageModule', ['jquery', 'datatables', 'TYPO3/CMS/Backend/jquery.clearable', 'moment'], function($) {
+define('TYPO3/CMS/Lang/LanguageModule', ['jquery', 'moment', 'datatables', 'TYPO3/CMS/Backend/jquery.clearable'], function($, moment) {
        var LanguageModule = {
                me: this,
                context: null,