diff options
author | Michael Kuhn <[email protected]> | 2019-04-13 22:36:15 +0200 |
---|---|---|
committer | Michael Kuhn <[email protected]> | 2019-04-14 12:01:52 +0200 |
commit | e38fcd6deac9a63654fb0eb61fffa9ad747e4c50 (patch) | |
tree | b44675f21eaad01efd8b8ab83cc97dc28a499ee5 /index.php | |
parent | 4a2a90c980bb7436150ed82556fdb6f4db3ff138 (diff) |
Fix button focus issues
This change introduces derived classes for ComboButton, DropDownButton
and Select that make sure that buttons do not remain focused after their
menus are closed. This allows using hotkeys after closing them.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -170,7 +170,7 @@ <select name="view_mode" title="<?php echo __('Show articles') ?>" onchange="App.onViewModeChanged()" - dojoType="dijit.form.Select"> + dojoType="fox.form.Select"> <option selected="selected" value="adaptive"><?php echo __('Adaptive') ?></option> <option value="all_articles"><?php echo __('All Articles') ?></option> <option value="marked"><?php echo __('Starred') ?></option> @@ -182,7 +182,7 @@ <select title="<?php echo __('Sort articles') ?>" onchange="App.onViewModeChanged()" - dojoType="dijit.form.Select" name="order_by"> + dojoType="fox.form.Select" name="order_by"> <option selected="selected" value="default"><?php echo __('Default') ?></option> <option value="feed_dates"><?php echo __('Newest first') ?></option> @@ -190,7 +190,7 @@ <option value="title"><?php echo __('Title') ?></option> </select> - <div dojoType="dijit.form.ComboButton" onclick="Feeds.catchupCurrent()"> + <div dojoType="fox.form.ComboButton" onclick="Feeds.catchupCurrent()"> <span><?php echo __('Mark as read') ?></span> <div dojoType="dijit.DropDownMenu"> <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrent('1day')"> @@ -215,7 +215,7 @@ } ?> - <div dojoType="dijit.form.DropDownButton" class="action-button" title="<?php echo __('Actions...') ?>"> + <div dojoType="fox.form.DropDownButton" class="action-button" title="<?php echo __('Actions...') ?>"> <span><i class="material-icons">menu</i></span> <div dojoType="dijit.Menu" style="display: none"> <div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcPrefs')"><?php echo __('Preferences...') ?></div> |