mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 09:34:29 +08:00
Merge pull request '[desktop] for bug 71691' (#138) from fix/bug-71691 into hotfix/v8.2.2
This commit is contained in:
@ -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;
|
||||
},
|
||||
|
||||
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user