[BUGFIX] Replace ###ID### in openCustomUrlInContentFrame correctly 33/42733/3
authorChristian Seifert <christian-f-seifert@gmx.de>
Tue, 18 Aug 2015 20:31:19 +0000 (20:31 +0000)
committerMarkus Klein <markus.klein@typo3.org>
Sat, 22 Aug 2015 08:06:30 +0000 (10:06 +0200)
commitd9be5665e1aa3920c302519844f0d3d46fce055b
tree25b5ddeb810015a58dbf1368db9e5be508df822b
parente47d66e0966313daecdba64d22e9e36a9844ec9c
[BUGFIX] Replace ###ID### in openCustomUrlInContentFrame correctly

Adding an URL by getModuleUrl including an array having an ID
parameter id=###ID### results in an escaped string.
Instead of "###ID###" the value "%23%23%23ID%23%23%23" is
submitted to the JavaScript function.

This patch fixes the old replacement function.
Now, you can again add click menu items linking to modules and
passing the selected page uid.

Resolves: #69170
Releases: master, 6.2
Change-Id: Ib4c0a1556dd1ed583e8faefe431e2d4eaaf864ad
Reviewed-on: http://review.typo3.org/42733
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Seifert <christian-f-seifert@gmx.de>
Tested-by: Christian Seifert <christian-f-seifert@gmx.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/actions.js