details:   https://code.tryton.org/tryton/commit/4077b64d78ce
branch:    7.4
user:      Nicolas Évrard <[email protected]>
date:      Thu Oct 02 09:42:19 2025 +0200
description:
        Always return a promise when calling Sao.Tab.create
        (grafted from 3f1dcbdcacd0ab131c39fb31dd449dcc434cecfd)
diffstat:

 sao/src/tab.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8b86479f2624 -r 4077b64d78ce sao/src/tab.js
--- a/sao/src/tab.js    Thu Oct 16 16:07:52 2025 +0200
+++ b/sao/src/tab.js    Thu Oct 02 09:42:19 2025 +0200
@@ -414,7 +414,7 @@
             if (other.compare(attributes)) {
                 Sao.common.scrollIntoViewIfNeeded(
                     tablist.find('a[href="#' + other.id + '"]').tab('show'));
-                return;
+                return jQuery.when();
             }
         }
         var tab;

Reply via email to