From 633e02b2bff5459d27e412517328a012cd7adfb0 Mon Sep 17 00:00:00 2001 From: Nicole Cordes <typo3@cordes.co> Date: Tue, 3 Mar 2015 13:32:46 +0100 Subject: [PATCH] [BUGFIX] Reset global ajaxID for ajax requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Due to patch https://review.typo3.org/#/c/37409/ the global ajaxID isn't set anymore. This variable is needed by several ajax requests and expected to be set in global context. This patch sets the given ajaxID globally. Releases: master Resolves: #65477 Change-Id: Id06d9b6a4d7bf41061e917ed6049a3dfefbf32f0 Reviewed-on: http://review.typo3.org/37493 Reviewed-by: Stephan Großberndt <stephan@grossberndt.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Markus Klein <klein.t3@reelworx.at> Tested-by: Markus Klein <klein.t3@reelworx.at> --- typo3/sysext/backend/Classes/AjaxRequestHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/typo3/sysext/backend/Classes/AjaxRequestHandler.php b/typo3/sysext/backend/Classes/AjaxRequestHandler.php index fb96fd3f65e3..c4fa5862103e 100644 --- a/typo3/sysext/backend/Classes/AjaxRequestHandler.php +++ b/typo3/sysext/backend/Classes/AjaxRequestHandler.php @@ -72,6 +72,7 @@ class AjaxRequestHandler implements RequestHandlerInterface { define('TYPO3_PROCEED_IF_NO_USER', 2); } + $GLOBALS['ajaxID'] = $ajaxID; $this->bootstrap ->checkLockedBackendAndRedirectOrDie() ->checkBackendIpOrDie() -- GitLab