diff --git a/apps/documenteditor/mobile/app/controller/Settings.js b/apps/documenteditor/mobile/app/controller/Settings.js index e34275107..9a5b1f1c4 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(); },