mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX][web_advanced_search_x2x] Do not hide filter when clicking in it
Fixes #703.
This commit is contained in:
@@ -36,6 +36,10 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) {
|
||||
this.operators.push({
|
||||
'value': 'domain', 'text': core._lt('is in selection'),
|
||||
});
|
||||
// Avoid hiding filter when using special widgets
|
||||
this.events["click"] = function (event) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
return this._super.apply(this, arguments);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user