[BUGFIX] EM: Fetch list as html, not as json 69/25269/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 8 Nov 2013 13:40:14 +0000 (14:40 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 11 Nov 2013 17:05:14 +0000 (18:05 +0100)
After performing an update from TER currently the extension-list
is fetched as format=json. This however leads to that situation
that links in the list also have format=json and won't work
anymore (example: pagination-widget).

Change-Id: Id37ab27bb3acd821e9dc0cadb23978aa3e5d9784
Resolves: #53423
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/25269
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/extensionmanager/Resources/Public/JavaScript/update.js

index 20e40ac..9177c41 100644 (file)
@@ -58,8 +58,8 @@
 
                                if (data.updated) {
                                        $.ajax({
-                                               url: window.location.href + '&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bformat%5D=json',
-                                               dataType: 'json',
+                                               url: window.location.href,
+                                               dataType: 'html',
                                                success: function(data) {
                                                        $('#terTableWrapper').html(
                                                                data