[FIX] web: correct invalid instruction introduced during previous forward-port
authorChristophe Simonis <chs@odoo.com>
Tue, 2 Dec 2014 16:45:10 +0000 (17:45 +0100)
committerChristophe Simonis <chs@odoo.com>
Tue, 2 Dec 2014 16:45:10 +0000 (17:45 +0100)
addons/web/static/src/js/search.js

index 3ae52df..1c6ec44 100644 (file)
@@ -684,7 +684,6 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
     },
     childFocused: function () {
         this.$el.addClass('active');
-        this.view_id = this.view_id || data.view_id;
     },
     childBlurred: function () {
         this.$el.val('').removeClass('active').trigger('blur');