From e67d6f85c3c7670ac2c07edcc6a6bfba00e0ab69 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Fri, 9 Feb 2018 13:09:31 +0100 Subject: [PATCH] [FIX] account: event on onFilterChange Before this commit, on the reconciliation widget in Firefox filtering lines through the input triggered a Traceback This was due to the use of the absence of a defined "event" parameter on the handler After this commit, filtering does work as expected opw 813791 --- .../static/src/js/reconciliation/reconciliation_renderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js index ed3b5ca3d4a..67470278277 100644 --- a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js +++ b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js @@ -613,7 +613,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, { /** * @private */ - _onFilterChange: function () { + _onFilterChange: function (event) { this.trigger_up('change_filter', {'data': _.str.strip($(event.target).val())}); }, /**