diff --git a/.gitignore b/.gitignore
index eb71606..32791f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@
# +-------------------------------------------------------------------------+
locales/po/*.mo
+.omc/
diff --git a/notify_lists.php b/notify_lists.php
index 537563b..4124be5 100644
--- a/notify_lists.php
+++ b/notify_lists.php
@@ -1138,7 +1138,7 @@ function hosts($header_label) {
@@ -1503,7 +1503,7 @@ function thold_device_template_edit() {
diff --git a/thold.php b/thold.php
index a098e3c..1cae7ea 100644
--- a/thold.php
+++ b/thold.php
@@ -784,7 +784,7 @@ function clearFilter() {
}
$(function() {
- $('#thold').submit(function(event) {
+ $('#thold').on('submit', function(event) {
event.preventDefault();
applyFilter();
});
diff --git a/thold_graph.php b/thold_graph.php
index 97a61af..f2c2fd7 100644
--- a/thold_graph.php
+++ b/thold_graph.php
@@ -251,7 +251,7 @@ function form_thold_filter() {
- '>
+ '>