[FIX] Fixed navigation error after using x2x advanced search

pull/999/head
Benjamin Willig 2017-11-15 13:10:33 +01:00 committed by Pedro M. Baeza
parent efd1f37161
commit 585d10f5fe
1 changed files with 5 additions and 3 deletions

View File

@ -38,9 +38,11 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) {
'value': 'domain', 'text': core._lt('is in selection'), 'value': 'domain', 'text': core._lt('is in selection'),
}); });
// Avoid hiding filter when using special widgets // Avoid hiding filter when using special widgets
this.events["click"] = function (event) { this.events = $.extend({}, this.events, {
click: function (event) {
event.stopPropagation(); event.stopPropagation();
} },
});
return this._super.apply(this, arguments); return this._super.apply(this, arguments);
}, },