[BUGFIX][FOLLOWUP] Make ClickMenu calls use new API

Special use cases where inline
onclick handlers were used are now
replaced by the proper handling of the new API.

This removes sideeffects by the previous
patch with #62709.

Resolves: #62889
Releases: master
Change-Id: If4d534873c9d97736a81bd800cbc66c7019206bb
Reviewed-on: http://review.typo3.org/34022
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>