}).trigger('change');
// disable the finish time input if the user disable it
- $('body').change("#id_nofinish", function() {
+ $('#id_nofinish').change(function() {
enableDisableFinishDate()
}).trigger('change');
{{/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();
}).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');