odoo/addons/web/static/src
Xavier Morel f910bc6780 [FIX] don't trigger search twice when a facet is removed from the query due to its values becoming empty
The facet removal from its last value being removed
(`this.remove(facet)` in the 'change' handler of the SearchQuery)
broadcasted its `remove` event, triggering the `do_search` (and
repaint) hook of the SearchView a second time right after the
`change`-triggered search.

Not only is this unnecessary and duplicated work (the `remove` is a
sync operation, so searchview-attached events haven't yet executed by
the time `remove` is called), the listview really doesn't like getting
a ``search`` signal while it's already executing a search.

So fix that.

bzr revid: xmo@openerp.com-20121018124005-6vfi7tqasz32ai8v
2012-10-18 14:40:05 +02:00
..
css [IMP] when editing a row, hide the list cells overlaid by form fields 2012-10-18 08:37:03 +02:00
font Improved view switcher icons 2012-05-11 17:42:48 +02:00
img [ADD] Trying to improve the form_steps_separtor.png. 2012-08-06 16:23:59 +02:00
js [FIX] don't trigger search twice when a facet is removed from the query due to its values becoming empty 2012-10-18 14:40:05 +02:00
xml [FIX] listview indicator positioning: position relative is UB on table elements 2012-10-17 14:16:01 +02:00