From 128f2c8ebbfaa35144a237fe30b2d82f8202114b Mon Sep 17 00:00:00 2001 From: Francois Ferrand Date: Mon, 16 Feb 2015 15:27:58 +0100 Subject: Hide tasks when filter is activated. Simply changing is opacity is nice, but does not work well when the board contains more tasks then fit on the screen. Moreover, moving tasks now properly handles in controller/model, so it is possible to show only some tasks. --- assets/js/app.js | 4 ++-- assets/js/src/board.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 48eac871..590f0219 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -143,8 +143,8 @@ $(".category-popover").click(a);$(".task-edit-popover").click(a);$(".task-creati $.get(a,function l(a){$(".ui-tooltip-content:visible").html(a);a=$(".ui-tooltip:visible");a.css({top:"",left:""});a.children(".tooltip-arrow").remove();var c=$(b).tooltip("option","position");c.of=$(b);a.position(c);$("#tooltip-subtasks a").click(function(a){a.preventDefault();a.stopPropagation();$(this).hasClass("popover-subtask-restriction")?(Kanboard.OpenPopover($(this).attr("href")),$(b).tooltip("close")):$.get($(this).attr("href"),l)})});return''}}}).on("mouseenter", function(){var a=this;$(this).tooltip("open");$(".ui-tooltip").on("mouseleave",function(){$(a).tooltip("close")})}).on("mouseleave focusout",function(a){a.stopImmediatePropagation();var b=this;setTimeout(function(){$(".ui-tooltip:hover").length||$(b).tooltip("close")},100)});$("[data-task-url]").each(function(){$(this).click(function(){window.location=$(this).attr("data-task-url")})});var b=parseInt($("#board").attr("data-check-interval"));0