소스 검색

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

Signed-off-by: jolheiser <john.olheiser@gmail.com>
tags/v1.11.4
John Olheiser 4 년 전
부모
커밋
54ea58ddf0
No account linked to committer's email address
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      web_src/js/index.js

+ 2
- 1
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'), {

Loading…
취소
저장