frio - event - correct some js

This commit is contained in:
rabuzarus 2016-06-17 11:18:54 +02:00
parent c99da380cf
commit 0148d0e5d2
2 changed files with 3 additions and 3 deletions

View File

@ -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');

View File

@ -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');