Commit fc20cfe9 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Правка бага http://bugzserver/show_bug.cgi?id=19421

При добавлении листа делаем initPostOpen

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48194 954022d7-b5bf-4e40-9824-e11837661b57
parent 92706813
...@@ -1557,6 +1557,7 @@ Workbook.prototype.createWorksheet=function(indexBefore, sName, sId){ ...@@ -1557,6 +1557,7 @@ Workbook.prototype.createWorksheet=function(indexBefore, sName, sId){
oNewWorksheet.sName = sName; oNewWorksheet.sName = sName;
} }
oNewWorksheet.init(); oNewWorksheet.init();
oNewWorksheet.initPostOpen();
if(indexBefore >= 0 && indexBefore < this.aWorksheets.length) if(indexBefore >= 0 && indexBefore < this.aWorksheets.length)
this.aWorksheets.splice(indexBefore, 0, oNewWorksheet); this.aWorksheets.splice(indexBefore, 0, oNewWorksheet);
else else
......
...@@ -707,7 +707,7 @@ ...@@ -707,7 +707,7 @@
setProperty : function (nType, value) { setProperty : function (nType, value) {
switch (nType) { switch (nType) {
case this.Properties.showGridLines: this.showGridLines = value;break; case this.Properties.showGridLines: this.showGridLines = value;break;
case this.Properties.showRowColHeaders: this.sheet = showRowColHeaders;break; case this.Properties.showRowColHeaders: this.showRowColHeaders = value;break;
} }
} }
}; };
......
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