[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:40 +0000 (00:37 +0200)
commitbb635a8c8ebc1ba7ce03ba95a46b3fc2a726edb5
tree4726c5813a3648e37c80d904e26d308225976243
parent6b07e404d7e2c641c68e3afa6d2f3ac3562b88c3
[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: Ifb2db858d7075f4fd714d737576189c0e1efc5a5
Resolves: #25787
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/5634
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
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