From 517672994d8d6774286dfc01fc5d18efeb068427 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 29 Jan 2019 04:35:39 +0300 Subject: [PATCH] notes and cleanup... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index 0878c600..033101c3 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -503,6 +503,8 @@ var TextBrowserPrototype = { renderIndent: '\t', }, + // NOTE: we do not need .renderGroup(..) here as a group is not + // visible in text... renderList: function(items, options){ var that = this return this.renderSubList(items, null, options) @@ -516,8 +518,6 @@ var TextBrowserPrototype = { e.map(function(e){ return (that.options.renderIndent || ' ') + e }) : e }) .flat() }, - //renderGroup: function(items, options){ - // return items }, renderItem: function(item, i, options){ var value = item.value || item return item.current ?