From effbb51ff89e81d98c6bb6c6e745c1459ab13e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 13 Oct 2023 09:16:00 +0200 Subject: [PATCH] Bind callback of history_revisions to the tab form bd73cefcf802 backported code that uses `this` but the upper versions are using arrow functions. Closes #12642 --HG-- branch : 6.0 --- sao/src/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/tab.js b/sao/src/tab.js index 99e3639889..d3e4e3e0d5 100644 --- a/sao/src/tab.js +++ b/sao/src/tab.js @@ -1041,7 +1041,7 @@ } new Sao.Window.Revision( revisions, revision, set_revision(revisions)); - }); + }.bind(this)); }.bind(this)); }, update_revision: function() {