From 54ea58ddf03e633be9aa96ac0b7c3f70f0842833 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Mon, 16 Mar 2020 18:41:02 -0500 Subject: [PATCH] Prevent default for linkAction (#10742) (#10743) 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 eeb6bbd8c06..30e8257b09d 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2738,7 +2738,8 @@ function showAddAllPopup() { return false; } -function linkAction() { +function linkAction(e) { + e.preventDefault(); const $this = $(this); const redirect = $this.data('redirect'); $.post($this.data('url'), {