|
|
@ -1804,6 +1804,7 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (APP.isDownload) {
|
|
|
|
if (APP.isDownload) {
|
|
|
|
|
|
|
|
delete APP.isDownload;
|
|
|
|
var bin = getContent();
|
|
|
|
var bin = getContent();
|
|
|
|
if (!supportsXLSX()) {
|
|
|
|
if (!supportsXLSX()) {
|
|
|
|
return void sframeChan.event('EV_OOIFRAME_DONE', bin, {raw: true});
|
|
|
|
return void sframeChan.event('EV_OOIFRAME_DONE', bin, {raw: true});
|
|
|
@ -2008,6 +2009,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
|
|
|
|
|
|
|
|
|
|
|
|
var blobUrl = (typeof mediasData[data.src] === 'undefined') ? "" : mediasData[data.src].blobUrl;
|
|
|
|
var blobUrl = (typeof mediasData[data.src] === 'undefined') ? "" : mediasData[data.src].blobUrl;
|
|
|
|
if (blobUrl) {
|
|
|
|
if (blobUrl) {
|
|
|
|
|
|
|
|
delete downloadImages[name];
|
|
|
|
debug("CryptPad Image already loaded " + blobUrl);
|
|
|
|
debug("CryptPad Image already loaded " + blobUrl);
|
|
|
|
return void callback(blobUrl);
|
|
|
|
return void callback(blobUrl);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -2556,7 +2558,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
|
|
|
|
type:'text/javascript',
|
|
|
|
type:'text/javascript',
|
|
|
|
src: '/common/onlyoffice/'+version+'web-apps/apps/api/documents/api.js'
|
|
|
|
src: '/common/onlyoffice/'+version+'web-apps/apps/api/documents/api.js'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$('#cp-app-oo-editor').append(s);
|
|
|
|
$('#cp-app-oo-editor').empty().append(h('div#cp-app-oo-placeholder-a')).append(s);
|
|
|
|
|
|
|
|
|
|
|
|
var hashes = content.hashes || {};
|
|
|
|
var hashes = content.hashes || {};
|
|
|
|
var idx = sortCpIndex(hashes);
|
|
|
|
var idx = sortCpIndex(hashes);
|
|
|
|