Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/core/behavior-keyboard-shortcuts.js
| Show All 24 Lines | .setHandler(function(manager) { | ||||
| workflow = new JX.Workflow(config.helpURI, data) | workflow = new JX.Workflow(config.helpURI, data) | ||||
| .setCloseHandler(function() { | .setCloseHandler(function() { | ||||
| workflow = null; | workflow = null; | ||||
| }); | }); | ||||
| workflow.start(); | workflow.start(); | ||||
| }) | }) | ||||
| .register(); | .register(); | ||||
| if (config.searchID) { | |||||
| desc = 'Give keyboard focus to the search box.'; | |||||
| new JX.KeyboardShortcut('/', desc) | |||||
| .setHandler(function() { | |||||
| var search = JX.$(config.searchID); | |||||
| search.focus(); | |||||
| search.select(); | |||||
| }) | |||||
| .register(); | |||||
| } | |||||
epriestley: I removed the behavior explicitly, here. This didn't just remove the preference, it removed the… | |||||
| }); | }); | ||||
I removed the behavior explicitly, here. This didn't just remove the preference, it removed the behavior.
Try tab instead, or write a browser extension. "/" already has a default behavior in Firefox.