瀏覽代碼

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

Signed-off-by: jolheiser <john.olheiser@gmail.com>
tags/v1.11.4
John Olheiser 4 年之前
父節點
當前提交
54ea58ddf0
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存