[BUGFIX] Workspace grid remains empty due to AJAX timeout 59/41259/2
authorStefan Rotsch <stefan.rotsch@aoemedia.de>
Thu, 9 Jan 2014 13:44:23 +0000 (14:44 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Wed, 15 Jul 2015 07:00:43 +0000 (09:00 +0200)
With a large amount of unpublished changes, the workspace grid requires
a longer Ajax timeout than the default 30s (similar to the mass
actions).

Resolves: #54922
Releases: master, 6.2
Change-Id: I7e81e1f7ce989599c9fc17a6e698a31a79e474d5
Reviewed-on: http://review.typo3.org/41259
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/workspaces/Resources/Public/JavaScript/workspaces.js

index 2f9d480..3910d38 100644 (file)
@@ -16,6 +16,9 @@ Ext.ns('TYPO3.Workspaces');
 TYPO3.Workspaces.App = {
 
        init : function() {
+               // With a large amount of unpublished changes, the workspace grid requires a longer Ajax timeout
+               Ext.Ajax.timeout = 120000;
+
                TYPO3.Workspaces.WorkspaceGrid.initColModel();
                TYPO3.Workspaces.WorkspaceGrid.render('workspacegrid');
 
@@ -80,4 +83,4 @@ Ext.onReady(function() {
        // fire grid
        var WS = new TYPO3.Workspaces.App.init();
 
-});
\ No newline at end of file
+});