cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-11-22 16:09:25 +03:00
parent d7bcf1cd0a
commit 1fd1211f41

View File

@ -527,20 +527,17 @@ var makeListEditorDialog =
module.makeListEditorDialog =
function makeListEditorDialog(list, options){
options = options || {}
return makeUIDialog(function(){
var lst = list instanceof Function ?
list.call(this)
: list
// NOTE: this will edit the list in place...
return browse.makeLister(null,
function(_, make){
make.EditableList(lst, options)
}, {
cls: options.cls,
})
}) }
}) }) }
// Make .config list editor dialog...
//