From 0148d0e5d2676d174305930110850ce74f2fa474 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 17 Jun 2016 11:18:54 +0200 Subject: [PATCH] frio - event - correct some js --- view/templates/event_head.tpl | 2 +- view/theme/frio/templates/event_head.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/view/templates/event_head.tpl b/view/templates/event_head.tpl index 0c015f4bf8..01c69b8b31 100644 --- a/view/templates/event_head.tpl +++ b/view/templates/event_head.tpl @@ -184,7 +184,7 @@ }).trigger('change'); // disable the finish time input if the user disable it - $('body').change("#id_nofinish", function() { + $('#id_nofinish').change(function() { enableDisableFinishDate() }).trigger('change'); diff --git a/view/theme/frio/templates/event_head.tpl b/view/theme/frio/templates/event_head.tpl index dc1457a87d..ee60f183ec 100644 --- a/view/theme/frio/templates/event_head.tpl +++ b/view/theme/frio/templates/event_head.tpl @@ -163,7 +163,7 @@ {{/if}} // go to the permissions tab if the checkbox is checked - $('body').change("#id_share", function() { + $('body').on("change", "#id_share", function() { if ($('#id_share').is(':checked') && !( $('#id_share').attr("disabled"))) { $('#acl-wrapper').show(); @@ -178,7 +178,7 @@ }).trigger('change'); // disable the finish time input if the user disable it - $('body').change("#id_nofinish", function() { + $('body').on("change", "#id_nofinish", function() { enableDisableFinishDate() }).trigger('change'); -- 2.39.5