mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
added .showTree(..) action...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
98f1f7fde2
commit
8085cbe12a
@ -758,6 +758,21 @@ var DialogsActions = actions.Actions({
|
||||
`,
|
||||
makeUIDialog(function(list, options){
|
||||
return browse.makeList(null, list, options) })],
|
||||
showTree: ['- Interface/',
|
||||
makeUIDialog(function(list, options){
|
||||
return browse.makePathList(null,
|
||||
list,
|
||||
Object.assign({
|
||||
/*
|
||||
cls: 'browse-actions',
|
||||
//path: '/',
|
||||
flat: false,
|
||||
traversable: true,
|
||||
pathPrefix: '/',
|
||||
//fullPathEdit: true,
|
||||
//*/
|
||||
}, options || {})) })],
|
||||
|
||||
// XXX do we need to split the options???
|
||||
showEditableList: ['- Interface/',
|
||||
core.doc`Show editable list dialog...
|
||||
|
||||
@ -4389,7 +4389,7 @@ PathListPrototype.options = {
|
||||
var match = function(a, path){
|
||||
var marker = that.options.itemShortcutMarker
|
||||
marker = marker && RegExp(marker, 'g')
|
||||
path = marker ? e.replace(marker, '$1') : path
|
||||
path = marker ? path.replace(marker, '$1') : path
|
||||
// NOTE: might be good to make this recursive when expanding
|
||||
// pattern support...
|
||||
return a
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user