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

Bug 26157 - Сделать недоступной кнопку "background color" в настройках...

Bug 26157 - Сделать недоступной кнопку "background color" в настройках параграфа при выделении диаграммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59175 954022d7-b5bf-4e40-9824-e11837661b57
parent 22751a50
...@@ -1200,12 +1200,12 @@ CGraphicObjects.prototype = ...@@ -1200,12 +1200,12 @@ CGraphicObjects.prototype =
var para_pr = DrawingObjectsController.prototype.getParagraphParaPr.call(this); var para_pr = DrawingObjectsController.prototype.getParagraphParaPr.call(this);
if(!para_pr) if(!para_pr)
{ {
if(this.selectedObjects[0] && this.selectedObjects[0].parent && this.selectedObjects[0].parent.Is_Inline()) //if(this.selectedObjects[0] && this.selectedObjects[0].parent && this.selectedObjects[0].parent.Is_Inline())
{ //{
var parent_para = this.selectedObjects[0].parent.Get_ParentParagraph(); // var parent_para = this.selectedObjects[0].parent.Get_ParentParagraph();
if(parent_para) // if(parent_para)
para_pr = parent_para.Get_CompiledPr2(true).ParaPr; // para_pr = parent_para.Get_CompiledPr2(true).ParaPr;
} //}
} }
if(para_pr) if(para_pr)
{ {
......
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