From 19d31194285813d4b42db835d2a75a0ca5be0921 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Wed, 14 Apr 2021 16:46:40 +0200 Subject: [PATCH] Patch to click the button which should be more stable --- config/plugins/webhooks/gtn/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/plugins/webhooks/gtn/script.js b/config/plugins/webhooks/gtn/script.js index 1f9e89a733b..1845c99a9b0 100644 --- a/config/plugins/webhooks/gtn/script.js +++ b/config/plugins/webhooks/gtn/script.js @@ -129,7 +129,7 @@ function addIframe() { tool_id = $(target).data("tool"); if (tool_id === "upload1" || tool_id === "upload") { - Galaxy.upload.show(); + document.getElementById("tool-panel-upload-button").click(); } else { Galaxy.router.push(`?tool_id=${tool_id}`); }