From 38bf395dc3c6f142f80cf84dd777db1cac9dd62d Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 22 Apr 2015 10:17:50 +0100 Subject: [PATCH] Fixed deleting poller groups in Firefox --- html/includes/modal/poller_groups.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/html/includes/modal/poller_groups.inc.php b/html/includes/modal/poller_groups.inc.php index 81e014f4ab..c966da6ac2 100644 --- a/html/includes/modal/poller_groups.inc.php +++ b/html/includes/modal/poller_groups.inc.php @@ -84,11 +84,10 @@ if(is_admin() === false) { $('#confirm-delete').on('show.bs.modal', function(e) { group_id = $(e.relatedTarget).data('group_id'); $("#group_id").val(group_id); - event.preventDefault(); }); $('#group-removal').click('', function(e) { - event.preventDefault(); + e.preventDefault(); group_id = $("#group_id").val(); $.ajax({ type: "POST",