[FIX] catch possible exception in search.js
authorGéry Debongnie <ged@odoo.com>
Wed, 8 Oct 2014 08:16:36 +0000 (10:16 +0200)
committerGéry Debongnie <ged@odoo.com>
Tue, 21 Oct 2014 07:33:51 +0000 (09:33 +0200)
commit748de602ef3ff3910582d20160469019c68f092d
tree841a7d14df2ffe9a4fd55ecf3ad8816bb0ab001d
parent2e43d4be297eae392866f0ba3b53af156a1c9ef1
[FIX] catch possible exception in search.js

The search view tries to evaluate the category of a filter in order
to put it in the filters or in the group by sub menu.  The pyeval.eval
function could throw an exception, which is not cool if it crashes the
client.  This fix make sure that the exception is caught.
addons/web/static/src/js/search.js