Browse Source

Prevent default for linkAction (#10742) (#10743)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
tags/v1.11.4
John Olheiser 4 years ago
parent
commit
54ea58ddf0
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      web_src/js/index.js

+ 2
- 1
web_src/js/index.js View File

return false; return false;
} }


function linkAction() {
function linkAction(e) {
e.preventDefault();
const $this = $(this); const $this = $(this);
const redirect = $this.data('redirect'); const redirect = $this.data('redirect');
$.post($this.data('url'), { $.post($this.data('url'), {

Loading…
Cancel
Save