[BUGFIX] Fix JS error in lang module 17/25517/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Tue, 19 Nov 2013 21:17:18 +0000 (22:17 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 19 Nov 2013 21:33:43 +0000 (22:33 +0100)
The tables of the language module do not resize
on change of windows height. This fixes the
Javascript error.

Releases: 6.0, 6.1, 6.2
Resolves: #53773
Change-Id: I614d370108092b224059d5a5d07d78a10a10e2a2
Reviewed-on: https://review.typo3.org/25517
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/lang/Resources/Public/JavaScript/LangModule.js

index 73551f6..be2b37b 100644 (file)
@@ -71,7 +71,7 @@ var languageModule = {
 
                        // Resize tables on window resize
                jQuery(window).resize(function() {
-                       $('div.dataTables_scrollBody').css('height', languageModule.calculateTableHeight());
+                       jQuery('div.dataTables_scrollBody').css('height', languageModule.calculateTableHeight());
                });
        },