mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-07-01 12:40:50 +02:00
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.
9 lines
263 B
JavaScript
Executable File
9 lines
263 B
JavaScript
Executable File
/* global dijit */
|
|
define(["dojo/_base/declare", "dijit/form/Select"], function (declare) {
|
|
return declare("fox.form.Select", dijit.form.Select, {
|
|
focus: function() {
|
|
return; // Stop dijit.form.Select from keeping focus after closing the menu
|
|
},
|
|
});
|
|
});
|