Commit 1b72bd2f authored by Oleg Korshul's avatar Oleg Korshul

fix bug 34166

parent b712a0f9
......@@ -5495,7 +5495,7 @@ function CDrawingDocument()
this.GuiCanvasFillTextureCtx.drawImage(_img.Image, _x, _y, _w, _h);
}
else
else if (!_img || !_img.Image)
{
this.GuiCanvasFillTextureCtx.lineWidth = 1;
......
......@@ -5863,6 +5863,11 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.asyncImageEndLoadedBackground = function(_image)
{
this.WordControl.m_oDrawingDocument.CheckRasterImageOnScreen(_image.src);
if (this.WordControl.m_oDrawingDocument.LastDrawingUrl == _image.src)
{
this.WordControl.m_oDrawingDocument.LastDrawingUrl = "";
this.UpdateInterfaceState();
}
};
asc_docs_api.prototype.IsAsyncOpenDocumentImages = function()
{
......
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