[FIX] Fixed regression due to previous trunk merge

bzr revid: fme@openerp.com-20121107132839-wwf3svdnmrfbj97u
This commit is contained in:
Fabien Meghazi 2012-11-07 14:28:39 +01:00
parent e7007332d8
commit 57638a3657
1 changed files with 0 additions and 9 deletions

View File

@ -271,15 +271,6 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
this.$('.oe_searchview_input:last').focus();
}
},
// when the completion list opens/refreshes, automatically select the
// first completion item so if the user just hits [RETURN] or [TAB] it
// automatically selects it
'autocompleteopen': function () {
var menu = this.$el.data('autocomplete').menu;
menu.activate(
$.Event({ type: "mouseenter" }),
menu.element.children().first());
},
// search button
'click button.oe_searchview_search': function (e) {
e.stopImmediatePropagation();