frio - event - correct some js
This commit is contained in:
parent
c99da380cf
commit
0148d0e5d2
2 changed files with 3 additions and 3 deletions
|
@ -184,7 +184,7 @@
|
||||||
}).trigger('change');
|
}).trigger('change');
|
||||||
|
|
||||||
// disable the finish time input if the user disable it
|
// disable the finish time input if the user disable it
|
||||||
$('body').change("#id_nofinish", function() {
|
$('#id_nofinish').change(function() {
|
||||||
enableDisableFinishDate()
|
enableDisableFinishDate()
|
||||||
}).trigger('change');
|
}).trigger('change');
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
// go to the permissions tab if the checkbox is checked
|
// 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"))) {
|
if ($('#id_share').is(':checked') && !( $('#id_share').attr("disabled"))) {
|
||||||
$('#acl-wrapper').show();
|
$('#acl-wrapper').show();
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
}).trigger('change');
|
}).trigger('change');
|
||||||
|
|
||||||
// disable the finish time input if the user disable it
|
// disable the finish time input if the user disable it
|
||||||
$('body').change("#id_nofinish", function() {
|
$('body').on("change", "#id_nofinish", function() {
|
||||||
enableDisableFinishDate()
|
enableDisableFinishDate()
|
||||||
}).trigger('change');
|
}).trigger('change');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue