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

        issue10865
        review383331002
        (grafted from fc57ac24d2a6207495a16b107aeacd7cbef026a5)
diffstat:

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

diffs (12 lines):

diff -r 49f267cae8c4 -r f7b30bf871ed src/screen.js
--- a/src/screen.js     Fri Oct 15 17:21:52 2021 +0200
+++ b/src/screen.js     Thu Oct 21 00:22:12 2021 +0200
@@ -1812,7 +1812,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