minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-13 08:46:30 +03:00
parent 28d9c5dc12
commit 711571bd25

View File

@ -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
['&#9206;', function(){}],
// XXX down
['&#9207;', 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
['&#9206;', function(){}],
// XXX down
['&#9207;', function(){}],
].concat(dialog.options.itemButtons),
}) })
.attr('mode', mode) .attr('mode', mode)
.addClass('mode') .addClass('mode')