Skip to content

Commit

Permalink
Merge pull request '[desktop] for bug 71691' (#138) from fix/bug-7169…
Browse files Browse the repository at this point in the history
…1 into hotfix/v8.2.2
  • Loading branch information
maxkadushkin committed Nov 23, 2024
2 parents c4fa817 + db3133d commit aa0dcf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/common/main/lib/controller/Desktop.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,11 @@ define([
native.execCommand('editor:event', JSON.stringify({action:'file:close', url: config.customization.goback.url}));
}
},
removeRecent: function () {
if ( config.isDesktopApp && !!native ) {
native.execCommand('recent:forget');
}
},
isActive: function () {
return !!native;
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ define([
me.api.asc_SendForm();
Common.Controllers.Desktop.process('goback');
Common.Controllers.Desktop.requestClose();
Common.Controllers.Desktop.removeRecent();
});
me.view.btnDownload.on('click', function(){
if (me.appOptions.canDownload) {
Expand Down

0 comments on commit aa0dcf8

Please sign in to comment.