[BUGFIX] Recycler: Reset internal toggle state after bulk action 82/42682/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 17 Aug 2015 12:58:57 +0000 (14:58 +0200)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Mon, 17 Aug 2015 15:56:43 +0000 (17:56 +0200)
Reset the internal toggle state in the recycler after a bulk action to get the
button responding after a single click again.

Resolves: #69129
Releases: master
Change-Id: I85d4df932f27cfbd48ac19e4d698e56dc71caec5
Reviewed-on: http://review.typo3.org/42682
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
typo3/sysext/recycler/Resources/Public/JavaScript/Recycler.js

index b462a70..55fcca7 100644 (file)
@@ -452,6 +452,9 @@ define(['jquery', 'nprogress', 'TYPO3/CMS/Backend/jquery.clearable'], function($
                                if (reloadPageTree) {
                                        Recycler.refreshPageTree();
                                }
+
+                               // Reset toggle state
+                               Recycler.allToggled = false;
                        },
                        complete: function() {
                                top.TYPO3.Modal.dismiss();