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

Поправила баг на открытие Nary после последних правок

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56556 954022d7-b5bf-4e40-9824-e11837661b57
parent f28fbfc5
...@@ -69,21 +69,17 @@ CNary.prototype.fillContent = function() ...@@ -69,21 +69,17 @@ CNary.prototype.fillContent = function()
else if( this.Pr.supHide && !this.Pr.subHide ) else if( this.Pr.supHide && !this.Pr.subHide )
{ {
base = new CNaryOvr(); base = new CNaryOvr();
//base.init(oBase);
base.setCtrPrp(ctrPrp); base.setCtrPrp(ctrPrp);
} }
else if( !this.Pr.supHide && this.Pr.subHide ) else if( !this.Pr.supHide && this.Pr.subHide )
{ {
base = new CNaryUnd(); base = new CNaryUnd();
//base.init(oBase);
base.setCtrPrp(ctrPrp); base.setCtrPrp(ctrPrp);
} }
else else
{ {
base = new CNaryUndOvr(); base = new CNaryUndOvr();
//base.init(oBase);
base.setCtrPrp(ctrPrp); base.setCtrPrp(ctrPrp);
} }
...@@ -383,6 +379,8 @@ CNary.prototype.Get_Id = function() ...@@ -383,6 +379,8 @@ CNary.prototype.Get_Id = function()
function CNaryUnd() function CNaryUnd()
{ {
CMathBase.call(this); CMathBase.call(this);
this.init();
} }
extend(CNaryUnd, CMathBase); extend(CNaryUnd, CMathBase);
CNaryUnd.prototype.init = function() CNaryUnd.prototype.init = function()
...@@ -429,6 +427,8 @@ CNaryUnd.prototype.changeUpperIterator = function(iterator) ...@@ -429,6 +427,8 @@ CNaryUnd.prototype.changeUpperIterator = function(iterator)
function CNaryOvr() function CNaryOvr()
{ {
CMathBase.call(this); CMathBase.call(this);
this.init();
} }
extend(CNaryOvr, CMathBase); extend(CNaryOvr, CMathBase);
CNaryOvr.prototype.init = function() CNaryOvr.prototype.init = function()
...@@ -499,6 +499,8 @@ function CNaryUndOvr() ...@@ -499,6 +499,8 @@ function CNaryUndOvr()
this.gapTop = 0; this.gapTop = 0;
this.gapBottom = 0; this.gapBottom = 0;
CMathBase.call(this); CMathBase.call(this);
this.init();
} }
extend(CNaryUndOvr, CMathBase); extend(CNaryUndOvr, CMathBase);
CNaryUndOvr.prototype.init = function() CNaryUndOvr.prototype.init = function()
......
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