From 29bfdd509d88aef16873207683302bec22bfe5a9 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Tue, 5 Jan 2016 10:54:37 -0200 Subject: 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 --- web-ui/app/js/search/search_trigger.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'web-ui/app/js/search/search_trigger.js') 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); }); } } -- cgit v1.2.3