[BUGFIX] Fix JS errors in context menu 51/51251/4
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 10 Jan 2017 21:54:47 +0000 (22:54 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Wed, 11 Jan 2017 10:29:01 +0000 (11:29 +0100)
commitf5a07ab7d7691873b76c45f8db29c954d5af4758
tree0aa733956cf50a5eab033aed5e41d904325eab50
parent4d4fdc6d6dfe433387fc99a312c6c4b7074e9695
[BUGFIX] Fix JS errors in context menu

Fixes two issues: syntax error (missing semicolon),
and "Uncaught TypeError: Cannot read property 'refresh' of undefined"
when e.g. deleting a page or a file.

In file module, refresh is not needed as all actions are refreshing
the frames anyway.

Releases: master, 7.6
Resolves: #79091
Change-Id: Icfc9f786c24099c55d8e60cf30f72f035ae28231
Reviewed-on: https://review.typo3.org/51251
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php