Commit 4e08219a authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

поправлено открытие CEqArray

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56114 954022d7-b5bf-4e40-9824-e11837661b57
parent 95c1a769
...@@ -511,7 +511,6 @@ function CEqArray(props) ...@@ -511,7 +511,6 @@ function CEqArray(props)
this.objDist = 0; this.objDist = 0;
this.init_2(props); this.init_2(props);
this.setCtrPrp(props.ctrPrp);
} }
extend(CEqArray, CMathMatrix); extend(CEqArray, CMathMatrix);
CEqArray.prototype.init_2 = function(props) CEqArray.prototype.init_2 = function(props)
...@@ -524,7 +523,8 @@ CEqArray.prototype.init_2 = function(props) ...@@ -524,7 +523,8 @@ CEqArray.prototype.init_2 = function(props)
rSpRule: 0, rSpRule: 0,
rSp: 0, rSp: 0,
maxDist: 0, maxDist: 0,
objDist: 0 objDist: 0,
ctrPrp: new CTextPr()
}; // default }; // default
...@@ -544,6 +544,9 @@ CEqArray.prototype.init_2 = function(props) ...@@ -544,6 +544,9 @@ CEqArray.prototype.init_2 = function(props)
if(props.objDist !== "undefined" && props.objDist !== null) if(props.objDist !== "undefined" && props.objDist !== null)
this.objDist = props.objDist; this.objDist = props.objDist;
if(props.ctrPrp !== "undefined" && props.ctrPrp !== null)
Pr.ctrPrp = props.ctrPrp;
CMathMatrix.call(this, Pr); CMathMatrix.call(this, 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