From 6ab911be17a702c7d20f35d7b8c476f21f1985f3 Mon Sep 17 00:00:00 2001 From: Stefan Rotsch <stefan.rotsch@aoemedia.de> Date: Thu, 9 Jan 2014 14:44:23 +0100 Subject: [PATCH] [BUGFIX] Workspace grid remains empty due to AJAX timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/26767 Reviewed-by: Benjamin Mack <benni@typo3.org> Tested-by: Benjamin Mack <benni@typo3.org> Reviewed-by: Frank Nägler <frank.naegler@typo3.org> Tested-by: Frank Nägler <frank.naegler@typo3.org> --- .../workspaces/Resources/Public/JavaScript/workspaces.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/typo3/sysext/workspaces/Resources/Public/JavaScript/workspaces.js b/typo3/sysext/workspaces/Resources/Public/JavaScript/workspaces.js index 4459d9559d83..4250ec7858b4 100644 --- a/typo3/sysext/workspaces/Resources/Public/JavaScript/workspaces.js +++ b/typo3/sysext/workspaces/Resources/Public/JavaScript/workspaces.js @@ -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 +}); -- GitLab