mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
a better minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4a9994822f
commit
53f6e7c1f3
@ -1433,7 +1433,8 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
|
|
||||||
// Sort tree level in-place...
|
// Sort tree level in-place...
|
||||||
//
|
//
|
||||||
// NOTE: this will remove the priority
|
// NOTE: this will remove the priority unless raw_keys is set...
|
||||||
|
// NOTE: setting shallow will sort only one level level...
|
||||||
var sortTree = function(tree, raw_keys, shallow){
|
var sortTree = function(tree, raw_keys, shallow){
|
||||||
var level = Object.keys(tree)
|
var level = Object.keys(tree)
|
||||||
level
|
level
|
||||||
@ -1594,7 +1595,7 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
})
|
})
|
||||||
|
|
||||||
// sort the tree...
|
// sort the tree...
|
||||||
sortTree(tree)
|
sortTree(tree, path == 'raw')
|
||||||
}
|
}
|
||||||
|
|
||||||
// return the raw tree...
|
// return the raw tree...
|
||||||
@ -1772,7 +1773,7 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
|
|
||||||
// pre-cache the action tree...
|
// pre-cache the action tree...
|
||||||
var tree = !options.live_tree ?
|
var tree = !options.live_tree ?
|
||||||
actions.getActions('raw')
|
actions.getActions('/')
|
||||||
: null
|
: null
|
||||||
|
|
||||||
// now for the dialog...
|
// now for the dialog...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user