You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
471 B
JavaScript
14 lines
471 B
JavaScript
/* eslint-disable prefer-rest-params */
|
|
/* global dijit, define */
|
|
define(["dojo/_base/declare", "dijit/form/ComboButton"], function (declare) {
|
|
return declare("fox.form.ComboButton", dijit.form.ComboButton, {
|
|
startup: function() {
|
|
this.inherited(arguments);
|
|
this.dropDown.autoFocus = true; // Allow dropdown menu to be focused on click
|
|
},
|
|
focus: function() {
|
|
return; // Stop dijit.form.ComboButton from keeping focus after closing the menu
|
|
},
|
|
});
|
|
});
|