Commit 0d2504ad authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

bug с заливкой

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57604 954022d7-b5bf-4e40-9824-e11837661b57
parent e1c3da8b
......@@ -4427,7 +4427,7 @@ function CDrawingDocument(drawingObjects)
if (null != this.GuiCanvasFillTexture)
{
var _div_elem = document.getElementById(this.GuiCanvasFillTextureParentId);
if (!_div_elem)
if (_div_elem)
_div_elem.removeChild(this.GuiCanvasFillTexture);
this.GuiCanvasFillTexture = null;
......
......@@ -4878,7 +4878,7 @@ function CDrawingDocument()
if (null != this.GuiCanvasFillTexture)
{
var _div_elem = document.getElementById(this.GuiCanvasFillTextureParentId);
if (!_div_elem)
if (_div_elem)
_div_elem.removeChild(this.GuiCanvasFillTexture);
this.GuiCanvasFillTexture = null;
......
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