summaryrefslogtreecommitdiff
path: root/js/form/Select.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/form/Select.js')
-rwxr-xr-xjs/form/Select.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/form/Select.js b/js/form/Select.js
new file mode 100755
index 000000000..c62db1821
--- /dev/null
+++ b/js/form/Select.js
@@ -0,0 +1,8 @@
+/* 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
+ },
+ });
+});