From 573d7a85a7aad8de5fc8355bc834c016348df794 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 14 Jan 2025 18:47:21 +0300 Subject: [PATCH 1/2] [PE] Fix Bug 72490 --- apps/presentationeditor/main/app/view/DocumentHolderExt.js | 2 +- apps/presentationeditor/main/app/view/Toolbar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/presentationeditor/main/app/view/DocumentHolderExt.js b/apps/presentationeditor/main/app/view/DocumentHolderExt.js index d4ef756a8b..6d34641b57 100644 --- a/apps/presentationeditor/main/app/view/DocumentHolderExt.js +++ b/apps/presentationeditor/main/app/view/DocumentHolderExt.js @@ -407,7 +407,7 @@ define([], function () { itemTemplate: _.template([ '
', '
', - '
<%= title %>
', + '
<%- title %>
', '
' ].join('')) }).on('item:click', function(picker, item, record, e) { diff --git a/apps/presentationeditor/main/app/view/Toolbar.js b/apps/presentationeditor/main/app/view/Toolbar.js index 75bed82d13..4879bda4d4 100644 --- a/apps/presentationeditor/main/app/view/Toolbar.js +++ b/apps/presentationeditor/main/app/view/Toolbar.js @@ -2356,7 +2356,7 @@ define([ itemTemplate: _.template([ '
', '
', - '
<%= title %>
', + '
<%- title %>
', '
' ].join('')) }); From af39c2ce49f37dd52af539d71dcfb6ac0146cb1d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 14 Jan 2025 19:47:59 +0300 Subject: [PATCH 2/2] [PDF] Fix undo after removing annotation --- apps/pdfeditor/main/app/controller/DocumentHolderExt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/pdfeditor/main/app/controller/DocumentHolderExt.js b/apps/pdfeditor/main/app/controller/DocumentHolderExt.js index 4b0ccc9f58..ebf8c72ae5 100644 --- a/apps/pdfeditor/main/app/controller/DocumentHolderExt.js +++ b/apps/pdfeditor/main/app/controller/DocumentHolderExt.js @@ -2376,6 +2376,7 @@ define([], function () { dh.removeComment = function(item, e, eOpt){ this.api && this.api.asc_remove(); + this.editComplete(); }; dh.equationCallback = function(eqObj) {