From ad46ba7d0f9ef6487319eae674685f3e3a30aec8 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 16 Jun 2019 09:44:23 +0200 Subject: [PATCH] fix fancytree navigation bug before official release, use unminified build in the meantime --- libraries/fancytree/jquery.fancytree-all-deps.js | 3 ++- src/views/desktop.ejs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/fancytree/jquery.fancytree-all-deps.js b/libraries/fancytree/jquery.fancytree-all-deps.js index d2bcec78e..d4c8370fe 100644 --- a/libraries/fancytree/jquery.fancytree-all-deps.js +++ b/libraries/fancytree/jquery.fancytree-all-deps.js @@ -3235,7 +3235,8 @@ var uniqueId = $.fn.extend( { node.makeVisible({ scrollIntoView: false }); } catch (e) {} // #272 if (activate === false) { - return node.setFocus(); + node.setFocus(); + return _getResolvedPromise(); } return node.setActive(); } diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs index fa172a5ac..1dedf66fc 100644 --- a/src/views/desktop.ejs +++ b/src/views/desktop.ejs @@ -200,7 +200,7 @@ - +