changeset 49df68bc6335 in sao:5.8
details: https://hg.tryton.org/sao?cmd=changeset&node=49df68bc6335
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 04127acd6ea8 -r 49df68bc6335 src/tab.js
--- a/src/tab.js Thu Oct 21 00:22:12 2021 +0200
+++ b/src/tab.js Tue Oct 26 19:40:49 2021 +0200
@@ -724,7 +724,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() {