From fedfa1b5e3ecd71e50788aa02805818073d7af33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 6 Mar 2015 17:12:18 +0100 Subject: [PATCH] remove inner function args to prevent hiding real update_selection arguments --- src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.js b/src/common.js index 570ee8c090..5ed1086f9f 100644 --- a/src/common.js +++ b/src/common.js @@ -548,7 +548,7 @@ }; Sao.common.selection_mixin.update_selection = function(record, field, callback) { - var _update_selection = function(record, field, callback) { + var _update_selection = function() { if (!field) { if (callback) { callback(this.selection);