Fix bug 77574

This commit is contained in:
Oleg Korshul
2025-10-13 22:02:56 +03:00
parent 751ba829ca
commit e93e03e5be

View File

@ -235,7 +235,7 @@ let isOverrideDocumentUrls = true;//window['Asc']['VisioEditorApi'] ? false : tr
function getCorrectImageUrl(path)
{
if (!window['Asc']['VisioEditorApi'])
if (!window['Asc']['VisioEditorApi'] || !window["AscDesktopEditor"])
return path;
return window["AscDesktopEditor"]["LocalFileGetImageUrlCorrect"](path);