[BUGFIX] Save and close not working in file edit 80/41880/2
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 23 Jul 2015 12:51:29 +0000 (14:51 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 23 Jul 2015 17:52:43 +0000 (19:52 +0200)
commite6cb5d4810889c505e9de52d992ace2043a05ab6
tree9a5cdc6a043b2b309e08ba1eb50bcafc70cfe323
parent959ac216ea8e19147eadefa64fd9f8dae82b6d5b
[BUGFIX] Save and close not working in file edit

File edit for example a CSS file can't save and close.
The onclick event handler was removed completely.
This is wrong for save and close.

A wrong htmlspecialchars created a wrong URL for the redirect.

Both issues are solved with this commit.

Resolves: #68487
Releases: master
Change-Id: I0dfa75733fcd1978378ad4503d9d99b3d4b33110
Reviewed-on: http://review.typo3.org/41880
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/backend/Classes/Controller/File/EditFileController.php
typo3/sysext/t3editor/Resources/Public/JavaScript/FileEdit.js