tweaking/planning...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-02-21 18:27:13 +03:00
parent 6b30cb7f9c
commit d8660c2136

View File

@ -1072,6 +1072,7 @@ browse.items.makeSubContext('field',
// XXX rename... // XXX rename...
// XXX do we actually need this??? // XXX do we actually need this???
// ....showList(..) seems too trivial... // ....showList(..) seems too trivial...
// need to make the upstream version to accept both signatures...
browse.showList = function(list, options){ browse.showList = function(list, options){
return browse.makeList(null, list, options) } return browse.makeList(null, list, options) }
browse.showEditableList = function(list, options){ browse.showEditableList = function(list, options){
@ -1178,7 +1179,8 @@ function(title, options){
} else { } else {
// XXX where do we get these when context in make(..) // XXX where do we get these when context in make(..)
// XXX mark the current value??? // XXX mark the current value???
var o = context[ //var o = context[
var o = browse[
options.list_editable ? options.list_editable ?
'showEditableList' 'showEditableList'
: 'showList']( : 'showList'](