mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
fixed a bug with navigation while editing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
765569c742
commit
0c212d8484
@ -324,9 +324,40 @@ var BrowserPrototype = {
|
||||
// XXX should we have things like ctrl-<number> for fast selection
|
||||
// in filter mode???
|
||||
keyboard: {
|
||||
// XXX this is the same as FullPathEdit, should we combine the two?
|
||||
ItemEdit: {
|
||||
pattern: '.browse-widget .list .text[contenteditable]',
|
||||
|
||||
// keep text editing action from affecting the selection...
|
||||
ignore: [
|
||||
'Backspace',
|
||||
'Up',
|
||||
'Down',
|
||||
'Left',
|
||||
'Right',
|
||||
'Home',
|
||||
'End',
|
||||
'Enter',
|
||||
'Esc',
|
||||
'/',
|
||||
'A',
|
||||
'P',
|
||||
'O',
|
||||
'T', 'D',
|
||||
|
||||
// let the system handle copy paste...
|
||||
'C', 'V', 'X',
|
||||
|
||||
// enter numbers as-is...
|
||||
'#1', '#2', '#3', '#4', '#5', '#6', '#7', '#8', '#9',
|
||||
],
|
||||
|
||||
Enter: 'stopFullPathEdit!',
|
||||
Esc: 'abortFullPathEdit!',
|
||||
},
|
||||
|
||||
FullPathEdit: {
|
||||
//pattern: '.browse-widget .path[contenteditable]',
|
||||
pattern: '.browse-widget [contenteditable]',
|
||||
pattern: '.browse-widget .path[contenteditable]',
|
||||
|
||||
// keep text editing action from affecting the selection...
|
||||
ignore: [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user