mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
experimenting with lister dialogs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f057f3583b
commit
6b30cb7f9c
@ -1069,8 +1069,21 @@ browse.items.makeSubContext('field',
|
||||
], options) })
|
||||
|
||||
|
||||
//browse.showEditableList = function(){}
|
||||
//browse.showList = function(){}
|
||||
// XXX rename...
|
||||
// XXX do we actually need this???
|
||||
// ....showList(..) seems too trivial...
|
||||
browse.showList = function(list, options){
|
||||
return browse.makeList(null, list, options) }
|
||||
browse.showEditableList = function(list, options){
|
||||
options = Object.create(options || {})
|
||||
// defaults...
|
||||
options.sortable = options.sortable === undefined ?
|
||||
true
|
||||
: options.sortable
|
||||
return browse.makeLister(null,
|
||||
function(path, make){
|
||||
make.EditableList(list, options) },
|
||||
options) }
|
||||
|
||||
|
||||
// Toggler field...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user