Commit 1bf80b0d authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

баг на откртие из-за последних правок

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56815 954022d7-b5bf-4e40-9824-e11837661b57
parent 4e5e47b1
......@@ -277,7 +277,7 @@ CNary.prototype.setCtrPrp = function(txtPrp)
this.CtrPrp.Merge(txtPrp); // only runPrp for paragraph
//this.RunPrp.setTxtPrp(txtPrp);
if(this.elements !== null && !this.elements[0][0].IsJustDraw())
if(this.elements.length > 0 && !this.elements[0][0].IsJustDraw())
{
this.elements[0][0].setCtrPrp(this.CtrPrp);
}
......
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