diff --git a/module/block/view/todoblock.html.php b/module/block/view/todoblock.html.php index 4c1b433287..ffc690f1e0 100644 --- a/module/block/view/todoblock.html.php +++ b/module/block/view/todoblock.html.php @@ -36,13 +36,13 @@
-
- +
@@ -118,12 +118,12 @@ { $control.trigger('chosen:updated'); } - }); + }).find('[name="begin"]').trigger('chosen:updated'); }); }; } - $('ul.todoes li .todo-check').click(function() + $('.block-todoes').blockTodoes().on('click', '.todo-check', function() { var $liTag = $(this).closest('li'); var isFinished = $liTag.hasClass('active'); @@ -135,8 +135,6 @@ if(isFinished) $liTag.removeClass('active'); }); }); - - $('.block-todoes').blockTodoes(); }); function ajaxCreateTodo(obj) diff --git a/module/my/view/managecontacts.html.php b/module/my/view/managecontacts.html.php index 1ea64c0b26..e7887eb845 100644 --- a/module/my/view/managecontacts.html.php +++ b/module/my/view/managecontacts.html.php @@ -76,8 +76,9 @@ -