]> git.mxchange.org Git - friendica.git/commitdiff
frio - event - correct some js
authorrabuzarus <>
Fri, 17 Jun 2016 09:18:54 +0000 (11:18 +0200)
committerrabuzarus <>
Fri, 17 Jun 2016 09:18:54 +0000 (11:18 +0200)
view/templates/event_head.tpl
view/theme/frio/templates/event_head.tpl

index 0c015f4bf832b77f45f802523b85e0e921106f82..01c69b8b31fb0a695ffa7c87971c42eaec0dc8cb 100644 (file)
                }).trigger('change');
 
                // disable the finish time input if the user disable it
-               $('body').change("#id_nofinish", function() {
+               $('#id_nofinish').change(function() {
                        enableDisableFinishDate()
                }).trigger('change');
 
index dc1457a87d1e63f0012f92abce0974abd6433f30..ee60f183ec438bc5f14c3d09bafd68fe1823bfe0 100644 (file)
                {{/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');