changeset 08e25111c2d2 in sao:6.0
details: https://hg.tryton.org/sao?cmd=changeset&node=08e25111c2d2
description:
Use tab_domain when comparing tabs
issue10441
review381241002
(grafted from 287382c0d95e03d280b2353b7d098b634ead68f1)
diffstat:
src/tab.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 5a29ca0aa777 -r 08e25111c2d2 src/tab.js
--- a/src/tab.js Fri Oct 22 00:33:34 2021 +0200
+++ b/src/tab.js Tue Oct 26 19:40:49 2021 +0200
@@ -754,7 +754,9 @@
JSON.stringify(attributes.context)) &&
(compare(
this.attributes.search_value || [],
- attributes.search_value || []))
+ attributes.search_value || [])) &&
+ (JSON.stringify(this.screen.attributes.tab_domain) ===
+ JSON.stringify(attributes.tab_domain))
);
},
_close_allowed: function() {