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

падает ие на svg tile

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57113 954022d7-b5bf-4e40-9824-e11837661b57
parent 2b318273
......@@ -842,7 +842,18 @@ CShapeDrawer.prototype =
return;
}
if (null == this.UniFill.fill.tile || this.Graphics.m_oContext === undefined)
var bIsUnusePattern = false;
if (AscBrowser.isIE)
{
// ie падает иначе !!!
if (this.UniFill.fill.RasterImageId)
{
if (this.UniFill.fill.RasterImageId.lastIndexOf(".svg") == this.UniFill.fill.RasterImageId.length - 4)
bIsUnusePattern = true;
}
}
if (bIsUnusePattern || null == this.UniFill.fill.tile || this.Graphics.m_oContext === undefined)
{
if (this.IsRectShape)
{
......
......@@ -804,7 +804,18 @@ CShapeDrawer.prototype =
return;
}
if (null == this.UniFill.fill.tile || this.Graphics.m_oContext === undefined)
var bIsUnusePattern = false;
if (AscBrowser.isIE)
{
// ie падает иначе !!!
if (this.UniFill.fill.RasterImageId)
{
if (this.UniFill.fill.RasterImageId.lastIndexOf(".svg") == this.UniFill.fill.RasterImageId.length - 4)
bIsUnusePattern = true;
}
}
if (bIsUnusePattern || null == this.UniFill.fill.tile || this.Graphics.m_oContext === undefined)
{
if (this.IsRectShape)
{
......
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