added space triggering of items in browse lists...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-29 06:20:58 +03:00
parent ebd051eab7
commit 3e5c52b676
2 changed files with 7 additions and 5 deletions

View File

@ -394,8 +394,6 @@ module.GLOBAL_KEYBOARD = {
/*********************************************************************/
// XXX add loading/storing of kb bindings...
// XXX experimenting with new style of doc strings, usable from the
// system... (for details see: core.doc)
// XXX need a clean deep copy to restore...
var KeyboardActions = actions.Actions({
@ -1572,7 +1570,7 @@ var KeyboardUIActions = actions.Actions({
})],
// XXX move to gen2
/*/ XXX move to gen2
// XXX need to pre-process the docs...
// - remove the path component...
// - insert the action name where not doc present...
@ -1590,6 +1588,7 @@ var KeyboardUIActions = actions.Actions({
background: 'white',
focusable: true,
})],
//*/
})

View File

@ -1237,7 +1237,9 @@ var BrowserPrototype = {
End: 'navigate!: "last"',
Enter: 'action',
Space: 'Enter',
//O: 'action',
Esc: 'close: "reject"',
'/': 'startFilter!',
@ -1676,8 +1678,9 @@ var BrowserPrototype = {
// ...this will also need to indicate a way to split the path
// and when to 'pop' the sub browser...
// XXX should we use the button tag for item buttons???
// ...tried it, seems that with buttons we get some css overridden
// by Chrome, needs more work than just replacing a tag...
// ...basically for this to work we need to either reset or override
// user-agent-stylesheet...
// to override just set most of the affected options to inherit...
update: function(path, list){
path = path || this.path
var browser = this.dom