Merge branch 'master' of github.com:flynx/ImageGrid

This commit is contained in:
Alex A. Naanou 2020-02-23 03:50:25 +03:00
commit 7c6799f7ba

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 search several contexts here... // XXX search several contexts here...
// 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'](