From 004656e919c7bd3df239399046ebacabef06cfaa Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Thu, 12 Nov 2020 15:17:26 +0300 Subject: [PATCH] Fixed bug #47368 --- apps/documenteditor/mobile/app/controller/Settings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/documenteditor/mobile/app/controller/Settings.js b/apps/documenteditor/mobile/app/controller/Settings.js index e342751073..9a5b1f1c46 100644 --- a/apps/documenteditor/mobile/app/controller/Settings.js +++ b/apps/documenteditor/mobile/app/controller/Settings.js @@ -603,9 +603,9 @@ define([ ); }); } else { - _.defer(function () { + _.delay(function () { me.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format)); - }); + }, 300); } me.hideModal(); @@ -624,9 +624,9 @@ define([ onPrint: function(e) { var me = this; - _.defer(function () { + _.delay(function () { me.api.asc_Print(); - }); + }, 300); me.hideModal(); },