From a5f6330e260c8713ec521fec5648350038a03861 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 26 May 2023 17:53:53 +0200 Subject: [PATCH] allow redirect to url after action --- javascript/cms-actions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/javascript/cms-actions.js b/javascript/cms-actions.js index 31fc642..4f79497 100644 --- a/javascript/cms-actions.js +++ b/javascript/cms-actions.js @@ -135,6 +135,9 @@ if (data.reload) { window.location.reload(); } + if (data.url) { + window.location.href = data.url; + } return; } // Update progress data