Commit 4829cb65 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 27001 - JS Error при закрытии окна Paragraph Advanced Settings для Shape 'Insert Text'

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58933 954022d7-b5bf-4e40-9824-e11837661b57
parent e873e0d9
......@@ -6824,12 +6824,15 @@ CDocumentContent.prototype =
{
ParaPr.CanAddDropCap = false;
var oSelectedInfo = this.LogicDocument.Get_SelectedElementsInfo();
var Math = oSelectedInfo.Get_Math();
if (null !== Math)
ParaPr.CanAddImage = false;
else
ParaPr.CanAddImage = true;
if(this.LogicDocument)
{
var oSelectedInfo = this.LogicDocument.Get_SelectedElementsInfo();
var Math = oSelectedInfo.Get_Math();
if (null !== Math)
ParaPr.CanAddImage = false;
else
ParaPr.CanAddImage = true;
}
if ( undefined != ParaPr.Tabs && editor)
editor.Update_ParaTab( Default_Tab_Stop, ParaPr.Tabs );
......
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