mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
28d9c5dc12
commit
711571bd25
@ -744,6 +744,14 @@ var KeyboardActions = actions.Actions({
|
|||||||
.forEach(function(mode){
|
.forEach(function(mode){
|
||||||
var dropped = keybindings[mode].drop || []
|
var dropped = keybindings[mode].drop || []
|
||||||
var bound_ignored = []
|
var bound_ignored = []
|
||||||
|
var buttons = edit ?
|
||||||
|
[
|
||||||
|
// XXX up
|
||||||
|
['⏶', function(){}],
|
||||||
|
// XXX down
|
||||||
|
['⏷', function(){}],
|
||||||
|
].concat(dialog.options.itemButtons)
|
||||||
|
: undefined
|
||||||
|
|
||||||
// section heading...
|
// section heading...
|
||||||
make(keybindings[mode].doc ?
|
make(keybindings[mode].doc ?
|
||||||
@ -761,13 +769,7 @@ var KeyboardActions = actions.Actions({
|
|||||||
not_filtered_out: true,
|
not_filtered_out: true,
|
||||||
// XXX should sections be searchable???
|
// XXX should sections be searchable???
|
||||||
not_searchable: true,
|
not_searchable: true,
|
||||||
|
buttons: buttons,
|
||||||
buttons: [
|
|
||||||
// XXX up
|
|
||||||
['⏶', function(){}],
|
|
||||||
// XXX down
|
|
||||||
['⏷', function(){}],
|
|
||||||
].concat(dialog.options.itemButtons),
|
|
||||||
})
|
})
|
||||||
.attr('mode', mode)
|
.attr('mode', mode)
|
||||||
.addClass('mode')
|
.addClass('mode')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user