From 7c5094b8eceeb2890bded38010b19f7a7f7063dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Mon, 29 Apr 2019 20:24:35 +0200 Subject: [PATCH] Update 014-mailcow.js --- data/web/js/build/014-mailcow.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/data/web/js/build/014-mailcow.js b/data/web/js/build/014-mailcow.js index 92d3cc1f..b84272ef 100644 --- a/data/web/js/build/014-mailcow.js +++ b/data/web/js/build/014-mailcow.js @@ -113,11 +113,17 @@ $(document).ready(function() { if ($(this).is("a")) { $(this).removeAttr("data-toggle"); $(this).removeAttr("data-target"); + $(this).removeAttr("data-action"); + $(this).click(function(event) { + event.preventDefault(); + }); } if ($(this).hasClass('btn-group')) { $(this).find('a').each(function(){ $(this).removeClass('dropdown-toggle') .removeAttr('data-toggle') + .removeAttr('data-target') + .removeAttr('data-action') .removeAttr('id') .attr("disabled", true); $(this).click(function(event) { @@ -147,7 +153,7 @@ $(document).ready(function() { } $(this).data("toggle", "tooltip"); $(this).attr("title", lang_acl.prohibited); - $(this).tooltip(); + $(this).tooltip(); }); // disable submit after submitting form (not API driven buttons)