summaryrefslogtreecommitdiff
path: root/js/form/ComboButton.js
blob: 98386eead364556de9bec1a4e9d46d09130177b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* global 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
		},
	});
});