From 1da1cb8114c85a37b4ca56c271c94f46f63cdb9a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 14 Jul 2019 10:58:24 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index 39f4438f..ae637471 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -545,7 +545,9 @@ var getMixinRoot = function(o, attr){ // View mixin... // // -// XXX can/should we use a Proxy object for this??/ +// XXX can/should we use a Proxy object for this??? +// XXX would be nice to be able to thread a set of options int the view +// when constructing via .search(..) and friends... var BrowserViewMixin = { // // source: , @@ -562,10 +564,12 @@ var BrowserViewMixin = { // item with .children, the view will render nested elements // twice, once in their respective sub-tree and for the // second time in the list... - // + skipNested: true, + // XXX should we have an ability to skip children if the parent is // not selected??? - skipNested: true, + // XXX might also be a good idea to be able to disable sub-trees... + //skipDisabledTree: true, }, // Construct options by merging option defaults with .source options...