File: Toolbar.js

package info (click to toggle)
tt-rss 21~git20210204.b4cbc79%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,436 kB
  • sloc: php: 29,355; javascript: 13,884; sql: 2,341; sh: 315; makefile: 81; perl: 9
file content (15 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* global dijit, define */

define(["dojo/_base/declare", "dijit/Toolbar"], function (declare) {
	return declare("fox.Toolbar", dijit.Toolbar, {
		_onContainerKeydown: function(/* Event */ /* e */) {
			return; // Stop dijit.Toolbar from interpreting keystrokes
		},
		_onContainerKeypress: function(/* Event */ /* e */) {
			return; // Stop dijit.Toolbar from interpreting keystrokes
		},
		focus: function() {
			return; // Stop dijit.Toolbar from focusing the first child on click
		},
	});
});