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