[BUGFIX] Prevent Uncaught TypeError in ClickMenu.js 00/50300/2
authorBenni Mack <benni@typo3.org>
Fri, 21 Oct 2016 08:32:45 +0000 (10:32 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 21 Oct 2016 08:36:04 +0000 (10:36 +0200)
commit6212a49fab09691c5e84795d9ec00c9e9500dba5
tree2836b98f47d9c17bc15533cf7ad4cad0b5e41979
parent9ffe88a2ca1feb4eeba327a1bb5fb85970b31cab
[BUGFIX] Prevent Uncaught TypeError in ClickMenu.js

This patch prevent an Uncaught TypeError ClickMenu.js.
In case the reloadFrame parameter not exist, the variable res is null.
This is ok, because not in any case the parameter is set.

Resolves: #78329
Releases: master, 7.6
Change-Id: I8590a37c55ed794d62620af4c487b57a972761f7
Reviewed-on: https://review.typo3.org/50300
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/ClickMenu.js