[PE][SSE] Fix Bug 47368
This commit is contained in:
parent
872d3f0801
commit
092e0c34b4
|
@ -358,9 +358,9 @@ define([
|
||||||
_onPrint: function(e) {
|
_onPrint: function(e) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
_.defer(function () {
|
_.delay(function () {
|
||||||
me.api.asc_Print();
|
me.api.asc_Print();
|
||||||
});
|
}, 300);
|
||||||
me.hideModal();
|
me.hideModal();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -393,9 +393,9 @@ define([
|
||||||
format = $(e.currentTarget).data('format');
|
format = $(e.currentTarget).data('format');
|
||||||
|
|
||||||
if (format) {
|
if (format) {
|
||||||
_.defer(function () {
|
_.delay(function () {
|
||||||
me.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
|
me.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
|
||||||
});
|
}, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
me.hideModal();
|
me.hideModal();
|
||||||
|
|
|
@ -675,9 +675,9 @@ define([
|
||||||
_onPrint: function(e) {
|
_onPrint: function(e) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
_.defer(function () {
|
_.delay(function () {
|
||||||
me.api.asc_Print();
|
me.api.asc_Print();
|
||||||
});
|
}, 300);
|
||||||
me.hideModal();
|
me.hideModal();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -699,9 +699,9 @@ define([
|
||||||
);
|
);
|
||||||
}, 50);
|
}, 50);
|
||||||
} else {
|
} else {
|
||||||
setTimeout(function () {
|
_.delay(function () {
|
||||||
me.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
|
me.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
|
||||||
}, 50);
|
}, 300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue