diff --git a/module/block/view/todoblock.html.php b/module/block/view/todoblock.html.php index cb4e0d6246..2c55aa2355 100644 --- a/module/block/view/todoblock.html.php +++ b/module/block/view/todoblock.html.php @@ -161,12 +161,10 @@ if(!$selfCall) die(include('./todolist.html.php')); var isFinished = $liTag.hasClass('active'); var todoID = $liTag.data('id'); var methodName = isFinished ? 'activate' : 'finish'; - var $todoes = $(this).closest('.block-todoes'); $.get(createLink('todo', methodName, "todoID=" + todoID), function() { if(!isFinished) $liTag.addClass('active'); if(isFinished) $liTag.removeClass('active'); - refreshBlock($todoes.parents('div.panel[id^=block]')); }); }); });