[BUGFIX] Adjust AJAX route calls in EXT:recycler 22/43822/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 5 Oct 2015 14:48:24 +0000 (16:48 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 5 Oct 2015 14:49:18 +0000 (16:49 +0200)
Resolves: #70390
Related: #69916
Releases: master
Change-Id: If18689ca2a5380a0cfe5508cf9298bd57b950fbf
Reviewed-on: http://review.typo3.org/43822
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/recycler/Resources/Public/JavaScript/Recycler.js

index f0a54ad..7734edd 100644 (file)
@@ -300,7 +300,7 @@ define(['jquery', 'nprogress', 'TYPO3/CMS/Backend/jquery.clearable'], function($
         */
        Recycler.loadDeletedElements = function() {
                $.ajax({
-                       url: TYPO3.settings.ajaxUrls['recycler_dispatch'],
+                       url: TYPO3.settings.ajaxUrls['recycler'],
                        dataType: 'json',
                        data: {
                                action: 'getDeletedRecords',
@@ -427,7 +427,7 @@ define(['jquery', 'nprogress', 'TYPO3/CMS/Backend/jquery.clearable'], function($
                }
 
                $.ajax({
-                       url: TYPO3.settings.ajaxUrls['recycler_dispatch'],
+                       url: TYPO3.settings.ajaxUrls['recycler'],
                        dataType: 'json',
                        data: data,
                        beforeSend: function() {