minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-03-25 01:22:56 +03:00
parent 29ed4a312d
commit 4a9994822f

View File

@ -1389,6 +1389,8 @@ var BrowseActionsActions = actions.Actions({
// - sort levels - DONE // - sort levels - DONE
// - expand path patterns - DONE // - expand path patterns - DONE
// - handle "*" listing (???) // - handle "*" listing (???)
// ...only for paths going into such a branch, otherwise
// it might get recursive fast.
// - handle visibility checks (???) // - handle visibility checks (???)
getActions: ['- System/', getActions: ['- System/',
core.doc`List actions in action tree... core.doc`List actions in action tree...
@ -1592,7 +1594,7 @@ var BrowseActionsActions = actions.Actions({
}) })
// sort the tree... // sort the tree...
sortTree(tree, path == 'raw') sortTree(tree)
} }
// return the raw tree... // return the raw tree...
@ -1708,7 +1710,6 @@ var BrowseActionsActions = actions.Actions({
var actions = this var actions = this
options = options || {} options = options || {}
var PRIORITY = /^(-?[0-9]+)\s*:\s*/
var MARKER = RegExp(this.config['browse-actions-shortcut-marker'], 'g') var MARKER = RegExp(this.config['browse-actions-shortcut-marker'], 'g')
MARKER = MARKER || RegExp(MARKER, 'g') MARKER = MARKER || RegExp(MARKER, 'g')