Merge pull request #648 from odoo-dev/7.0-fix-searchbar-navigation-ged

[FIX] fixes searchbar navigation (web client)
This commit is contained in:
xmo-odoo 2014-06-19 13:31:41 +02:00
commit cdf87a2063
1 changed files with 2 additions and 2 deletions

View File

@ -331,11 +331,11 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
'keydown .oe_searchview_input, .oe_searchview_facet': function (e) {
switch(e.which) {
case $.ui.keyCode.LEFT:
this.focusPreceding(this);
this.focusPreceding(e.target);
e.preventDefault();
break;
case $.ui.keyCode.RIGHT:
this.focusFollowing(this);
this.focusFollowing(e.target);
e.preventDefault();
break;
}