[BUGFIX] Icon state toggling in record list 81/42681/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 17 Aug 2015 12:44:59 +0000 (14:44 +0200)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Mon, 17 Aug 2015 16:11:05 +0000 (18:11 +0200)
commit0341a224498faf5f9dca43c480cbaadbaf350e6d
treefce0d79fdc3d292cdefc21880a9582a95896baa3
parent56ac6e7b3ea59ac4967dd9b9388718bfe3fbe68d
[BUGFIX] Icon state toggling in record list

When the toggle icon is clicked, the state icon class gets removed,
but the called toggleClass() methods add both icon state classes
again. Change the JavaScript to only add the required icon state
class to the button.

Resolves: #69128
Releases: master
Change-Id: I192163ba35ca0a11fb6c8621af8be04796c82b61
Reviewed-on: http://review.typo3.org/42681
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
typo3/sysext/backend/Resources/Public/JavaScript/AjaxDataHandler.js