From 67963100b02bfb67afa4438c6ef26898048e9b91 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 31 Aug 2023 14:57:46 +0200 Subject: [PATCH] #11973 reload vsconsole on copy elements --- pandora_console/operation/visual_console/view.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/operation/visual_console/view.php b/pandora_console/operation/visual_console/view.php index fd5685ec1f..afefdefc8b 100644 --- a/pandora_console/operation/visual_console/view.php +++ b/pandora_console/operation/visual_console/view.php @@ -1149,7 +1149,11 @@ if ($edit_capable === true) { visualConsoleManager.copyItem(item); } }); - visualConsoleManager.forceUpdateVisualConsole(); + setTimeout( + function() + { + visualConsoleManager.forceUpdateVisualConsole(); + }, 500); }); $('.link-create-item').click(function (event){