some tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-09-16 20:45:30 +03:00
parent 3b7beab501
commit 782b05ee96

View File

@ -732,8 +732,19 @@ var DialogsActions = actions.Actions({
-> dialog -> dialog
See browse.Items.EditableList(..) for more info. See browse.Items.EditableList(..) for more info.
NOTE: this passes the same options to the list item and the
dielog.
XXX this may change in the future...
`, `,
makeUIDialog(function(list, options){ makeUIDialog(function(list, options){
options = Object.create(options || {})
// defaults...
options.sortable = options.sortable === undefined ?
true
: options.sortable
return browse.makeLister(null, return browse.makeLister(null,
function(path, make){ function(path, make){
make.EditableList(list, options) make.EditableList(list, options)