From c7f3d1627f32cee1a77b758a8e48922f99f7dbd4 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Mon, 16 Mar 2020 16:13:41 -0500 Subject: [PATCH] Prevent default for linkAction (#10742) Signed-off-by: jolheiser --- web_src/js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index cd13372b428..76e006e51de 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2720,7 +2720,8 @@ function showAddAllPopup() { return false; } -function linkAction() { +function linkAction(e) { + e.preventDefault(); const $this = $(this); const redirect = $this.data('redirect'); $.post($this.data('url'), {