changeset fc57ac24d2a6 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset&node=fc57ac24d2a6
description:
        Call close_current on tabs

        issue10865
        review383331002
diffstat:

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

diffs (12 lines):

diff -r 473684d1fe0b -r fc57ac24d2a6 src/screen.js
--- a/src/screen.js     Thu Oct 21 00:18:29 2021 +0200
+++ b/src/screen.js     Thu Oct 21 00:22:12 2021 +0200
@@ -2028,7 +2028,7 @@
             } else if (action == 'previous') {
                 this.display_previous();
             } else if (action == 'close') {
-                Sao.Tab.close_current();
+                Sao.Tab.tabs.close_current();
             } else if (action.startsWith('switch')) {
                 this.switch_view.apply(this, action.split(' ', 3).slice(1));
             } else if (action == 'reload') {

Reply via email to