From 28fc726f947fc0512bbe60811b23e8b8904ad214 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 22 Sep 2019 04:17:28 +0300 Subject: [PATCH] more notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index 795f3574..ff62170b 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -531,6 +531,11 @@ var BaseItemPrototype = { // XXX BUG: calling this on a nested/inlined browser will mess things up... // ...the issue seems to be with root options not being available // for partial render in a nested context... + // ...one way to fix this would be to make the options inheritance + // protocol more strict: + // - if no options given use defaults + // - if options given use as-is + // - defaults are taken from this.options if not present update: function(options){ this.parent && this.parent.render(this, options)