[BUGFIX] handler is undefined when resizing the backend
authorSimon Schaufelberger <simonschaufi@googlemail.com>
Sat, 8 Oct 2011 16:20:48 +0000 (18:20 +0200)
committerOliver Hader <oliver@typo3.org>
Mon, 10 Oct 2011 22:37:57 +0000 (00:37 +0200)
commit54afae5882862764d67ffd21cec6d33a835f75d8
tree4609f132340d5484ec0adb9685baa7655c1ea30f
parente1bd3c94764b23e81a2a72543dc3e167b28e4b50
[BUGFIX] handler is undefined when resizing the backend

Resizing the backend browser window results in a JavaScript error.
The function that handles the re-positioning of the menus does not
work correctly. The observer requires a reference to a callback
function - currently the method was directly executed and the return
value used as function reference, which was undefined in this case.

Change-Id: I15f3bab4c3c59c5c96633423ac7cd0ebd1736a1a
Resolves: #25787
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/5694
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/js/backendsearch.js
typo3/js/clearcachemenu.js
typo3/js/shortcutmenu.js
typo3/sysext/opendocs/opendocs.js
typo3/sysext/sys_action/toolbarmenu/tx_sysactions.js