From dae96388e8e75c8e0bc1ad08b22a10a239dd2833 Mon Sep 17 00:00:00 2001 From: laf Date: Fri, 27 Feb 2015 11:57:43 +0000 Subject: [PATCH] Fixed javascript event. issue - stopped Firefox working --- html/includes/modal/alert_template.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/modal/alert_template.inc.php b/html/includes/modal/alert_template.inc.php index 5ecda629f2..168ebf18bb 100644 --- a/html/includes/modal/alert_template.inc.php +++ b/html/includes/modal/alert_template.inc.php @@ -152,7 +152,7 @@ $('#add_line').click('', function(e) { }); $('button[name="control-add"],button[name="placeholder-add"],button[name="operator-add"]').click('', function(e) { - event.preventDefault(); + e.preventDefault(); var type = $(this).data("type"); var value = $(this).data("value"); var line = $('#line').val();