Ver código fonte

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

Signed-off-by: jolheiser <john.olheiser@gmail.com>
tags/v1.11.4
John Olheiser 4 anos atrás
pai
commit
54ea58ddf0
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      web_src/js/index.js

+ 2
- 1
web_src/js/index.js Ver arquivo

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

Carregando…
Cancelar
Salvar