From 178661a672a7fd9a8a29f4091dedc07fdb7d9d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 28 Aug 2017 18:29:25 +0200 Subject: [PATCH] Add missing context when storing last_domain of selection The last_domain should be composed of the domain and the context. issue6710 review43401002 --- src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.js b/src/common.js index 9608c2bdf9..50448fd0df 100644 --- a/src/common.js +++ b/src/common.js @@ -664,7 +664,7 @@ if (this.nullable_widget) { selection.push([null, '']); } - this._last_domain = domain; + this._last_domain = [domain, context]; this._domain_cache[jdomain] = selection; this.selection = jQuery.extend([], selection); if (callback) {