浏览代码

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

正在加载...
取消
保存