details: https://code.tryton.org/tryton/commit/3f1dcbdcacd0
branch: default
user: Nicolas Évrard <[email protected]>
date: Thu Oct 02 09:42:19 2025 +0200
description:
Always return a promise when calling Sao.Tab.create
diffstat:
sao/src/tab.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a80e2b03464d -r 3f1dcbdcacd0 sao/src/tab.js
--- a/sao/src/tab.js Tue Dec 02 17:50:32 2025 +0100
+++ b/sao/src/tab.js Thu Oct 02 09:42:19 2025 +0200
@@ -424,7 +424,7 @@
if (other.compare(attributes)) {
Sao.common.scrollIntoViewIfNeeded(
tablist.find('a[href="#' + other.id + '"]').tab('show'));
- return;
+ return jQuery.when();
}
}
var tab;