Commit 058f4b8b authored by Alexey.Musinov's avatar Alexey.Musinov

mobile-coautoring

parent b34aed40
......@@ -7629,3 +7629,22 @@ window["Asc"]["spreadsheet_api"].prototype.openDocument = function(sData) {
}, 5);
};
window["AscCommon"].getFullImageSrc2 = function (src) {
var start = src.slice(0, 6);
if (0 === start.indexOf('theme') && editor.ThemeLoader){
return editor.ThemeLoader.ThemesUrlAbs + src;
}
if (0 !== start.indexOf('http:') && 0 !== start.indexOf('data:') && 0 !== start.indexOf('https:') &&
0 !== start.indexOf('file:') && 0 !== start.indexOf('ftp:')){
var srcFull = AscCommon.g_oDocumentUrls.getImageUrl(src);
if(srcFull){
window["native"]["loadUrlImage"](srcFull, src);
return srcFull;
}
}
return src;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment