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 = module.makeListEditorDialog =
function makeListEditorDialog(list, options){ function makeListEditorDialog(list, options){
options = options || {} options = options || {}
return makeUIDialog(function(){ return makeUIDialog(function(){
var lst = list instanceof Function ? var lst = list instanceof Function ?
list.call(this) list.call(this)
: list : list
// NOTE: this will edit the list in place... // NOTE: this will edit the list in place...
return browse.makeLister(null, return browse.makeLister(null,
function(_, make){ function(_, make){
make.EditableList(lst, options) make.EditableList(lst, options)
}, { }, {
cls: options.cls, cls: options.cls,
}) }) }) }
}) }
// Make .config list editor dialog... // Make .config list editor dialog...
// //