From d8660c2136b72b071d47f38daf1ea3c46e0bb6b9 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 21 Feb 2020 18:27:13 +0300 Subject: [PATCH] tweaking/planning... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-widgets.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index 02680d3d..30e40f0f 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -1072,6 +1072,7 @@ browse.items.makeSubContext('field', // XXX rename... // XXX do we actually need this??? // ....showList(..) seems too trivial... +// need to make the upstream version to accept both signatures... browse.showList = function(list, options){ return browse.makeList(null, list, options) } browse.showEditableList = function(list, options){ @@ -1178,7 +1179,8 @@ function(title, options){ } else { // XXX where do we get these when context in make(..) // XXX mark the current value??? - var o = context[ + //var o = context[ + var o = browse[ options.list_editable ? 'showEditableList' : 'showList'](