ttrss/js
Michael Kuhn 4a2a90c980 Fix focus issues with hotkeys
Since making use of keypress in addition to keydown, hotkeys did not
work in certain scenarios, including clicking on the feed tree expanders
or empty spaces of the toolbar.

This issue is caused by dijit.Tree and dijit.Toolbar implementing the
_KeyNavMixin, which explicitly stops propagation of keypress events.

This change contains two main fixes plus a smaller hotfix:
1. It overrides _onContainerKeydown and _onContainerKeypress for
   fox.FeedTree (which inherits from dijit.Tree).
2. It adds fox.Toolbar, which overrides _onContainerKeydown,
   _onContainerKeypress and focus. This fixes hotkeys being swallowed
   and the first focusable child receiving focus when clicking on an
   empty space of the toolbar.
3. It adds the same handling of keydown and keypress to the prefs hotkey
   handler as is done in the main hotkey handler.
2019-04-13 22:34:57 +02:00
..
AppBase.js Refactor hotkeys to use keypress instead of keydown 2019-03-11 12:01:27 +01:00
Article.js Article.unpack: add placeholder   if data-content is empty 2018-12-12 08:56:02 +03:00
CommonDialogs.js fix feed icon upload not working, rework form to use FormData/ajax 2019-03-14 09:08:44 +03:00
CommonFilters.js filter test results: remove table bloat 2018-12-14 17:44:53 +03:00
FeedStoreModel.js move to let/const syntax in custom dojo modules 2018-11-29 21:21:06 +03:00
FeedTree.js Fix focus issues with hotkeys 2019-04-13 22:34:57 +02:00
Feeds.js Refactor hotkeys to use keypress instead of keydown 2019-03-11 12:01:27 +01:00
Headlines.js Headlines.click: open original article (and mark as read) on alt click on title 2019-03-07 15:40:02 +03:00
PluginHost.js fix PluginHost run method. 2018-12-08 19:14:40 +01:00
PrefFeedStore.js define custom dojo modules with define() instead of require(), update startup module dependencies 2018-08-23 09:56:34 +03:00
PrefFeedTree.js css: insensitive -> text-muted 2019-03-08 10:11:57 +03:00
PrefFilterStore.js define custom dojo modules with define() instead of require(), update startup module dependencies 2018-08-23 09:56:34 +03:00
PrefFilterTree.js display filter tree rules as a list 2018-12-19 12:08:06 +03:00
PrefHelpers.js Revert "use codeflask for user css editor" 2018-12-11 20:48:17 +03:00
PrefLabelTree.js Fix two more typos 2018-12-08 11:02:39 +01:00
PrefUsers.js update notifications to make them more visible 2019-03-05 20:09:06 +03:00
Toolbar.js Fix focus issues with hotkeys 2019-04-13 22:34:57 +02:00
common.js remove old fatalError(), move everything to App.Error 2018-12-11 13:18:38 +03:00
index.html block listing of several util directories; deny access to config.php 2013-04-11 22:01:10 +04:00
prefs.js Fix focus issues with hotkeys 2019-04-13 22:34:57 +02:00
tt-rss.js Fix focus issues with hotkeys 2019-04-13 22:34:57 +02:00