details:   https://code.tryton.org/tryton/commit/cff0ba38985f
branch:    7.6
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 894bc17c7049 -r cff0ba38985f sao/src/tab.js
--- a/sao/src/tab.js    Thu Oct 02 09:44:58 2025 +0200
+++ 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;

Reply via email to