Browse Source
Prevent default for linkAction (#10742)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
for-closed-social
John Olheiser
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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'), { |
|
|
|