mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d7bcf1cd0a
commit
1fd1211f41
@ -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...
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user