diff --git a/TODO.otl b/TODO.otl index 7eb286f..ebcc561 100755 --- a/TODO.otl +++ b/TODO.otl @@ -1,5 +1,5 @@ -[_] 38% Priority work - [_] 75% general todo +[_] 39% Priority work + [_] 76% general todo [_] 0% Priority work for 10.03.13 [_] load/save from JSON [_] add page via template @@ -102,8 +102,6 @@ [X] title [X] name [_] BUG: 3 fingers+ do not work on android... - [_] BUG: tab navigation will scroll the view... - | need to either prevent tab nav or control it so as not to get off page... [_] 70% build a custom scroll lib... [X] 100% features: [X] drag/scroll @@ -172,6 +170,10 @@ [_] try using the scroll event to see of we reached the limit... | and move the limit accordingly [_] BUG: scrool seems to do odd things on refresh... + [X] BUG: tab navigation will scroll the view... + | need to either prevent tab nav or control it so as not to get off page... + | + | now tabs switch pages. [X] Editor: add toggleEditiorMode to all editables in all versions... | text areas, inputs, ... [X] add global credits and copyright page... diff --git a/index.html b/index.html index 7ddbc28..ac6ff98 100755 --- a/index.html +++ b/index.html @@ -191,6 +191,7 @@ var keyboard_config = { default: nextPage, shift: prevPage }, + Tab: 'Space', Enter: function(){ togglePageView('on') }, // combined navigation with actions.. Up: function(){ togglePageView() }, diff --git a/layout.js b/layout.js index a9e6ead..ef16032 100755 --- a/layout.js +++ b/layout.js @@ -415,6 +415,7 @@ function setCurrentPage(n, use_transitions){ $('.viewer').trigger('pageChanged', n) + $(':focus').blur() return cur } diff --git a/lib/keyboard.js b/lib/keyboard.js index 12b02dd..66b52a6 100755 --- a/lib/keyboard.js +++ b/lib/keyboard.js @@ -165,6 +165,7 @@ function makeKeyboardHandler(keybindings, unhandled){ } } else { // simple callback... + //res = handler(evt) res = handler() // if the handler explicitly returned false break out... if(res === false){