diff options
author | Bruno Wagner <bwagner@riseup.net> | 2016-01-05 10:54:37 -0200 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2016-01-05 10:54:37 -0200 |
commit | 29bfdd509d88aef16873207683302bec22bfe5a9 (patch) | |
tree | 1783d6970c0d5e4bb5af2495afbc8f28d6ad5583 /web-ui/app/js/search | |
parent | c3340fc2529f3627264b616ea45fac3c9681b001 (diff) |
Revert "Issue #25 - Implemented shortcuts on UI"
This reverts commit aa66beb0c74ebaa950a083ed991f6e5f50f9c9ac.
This commit broke the functional tests, so we are reverting it
for now, while we fix it
Diffstat (limited to 'web-ui/app/js/search')
-rw-r--r-- | web-ui/app/js/search/search_trigger.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web-ui/app/js/search/search_trigger.js b/web-ui/app/js/search/search_trigger.js index cb670239..4b9cb1dc 100644 --- a/web-ui/app/js/search/search_trigger.js +++ b/web-ui/app/js/search/search_trigger.js @@ -68,10 +68,6 @@ define( } }; - this.shortcutFocusSearchField = function() { - this.$node.find('input[type=search]').focus(); - }; - this.after('initialize', function () { this.render(); this.on(this.select('form'), 'submit', this.search); @@ -79,7 +75,6 @@ define( this.on(this.select('input'), 'blur', this.showSearchTermsAndPlaceHolder); this.on(document, events.ui.tag.selected, this.clearInput); this.on(document, events.ui.tag.select, this.clearInput); - this.on(document, events.shortcuts.focusSearchField, this.shortcutFocusSearchField); }); } } |