[PE][SSE] Fix Bug 47368

This commit is contained in:
Julia Radzhabova 2020-11-24 12:20:35 +03:00
parent 872d3f0801
commit 092e0c34b4
2 changed files with 8 additions and 8 deletions

View file

@ -358,9 +358,9 @@ define([
_onPrint: function(e) {
var me = this;
_.defer(function () {
_.delay(function () {
me.api.asc_Print();
});
}, 300);
me.hideModal();
},
@ -393,9 +393,9 @@ define([
format = $(e.currentTarget).data('format');
if (format) {
_.defer(function () {
_.delay(function () {
me.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
});
}, 300);
}
me.hideModal();

View file

@ -675,9 +675,9 @@ define([
_onPrint: function(e) {
var me = this;
_.defer(function () {
_.delay(function () {
me.api.asc_Print();
});
}, 300);
me.hideModal();
},
@ -699,9 +699,9 @@ define([
);
}, 50);
} else {
setTimeout(function () {
_.delay(function () {
me.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
}, 50);
}, 300);
}
}
},