changeset 9eaea3e76d7d in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset&node=9eaea3e76d7d
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 f7b30bf871ed -r 9eaea3e76d7d 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
@@ -665,7 +665,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() {