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

При копировании листа не копируются свойства (происходило падение)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48811 954022d7-b5bf-4e40-9824-e11837661b57
parent eb36a9b2
......@@ -1602,7 +1602,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
window.setTimeout(function () {
t.onSaveCallback(event);
}, 10);
})
});
}, 1000);
}
}
......
......@@ -1614,6 +1614,7 @@ Workbook.prototype.copyWorksheet=function(index, insertBefore, sName, sId){
newSheet.sName = sName;
}
newSheet.init();
newSheet.initPostOpen();
if(null != insertBefore && insertBefore >= 0 && insertBefore < this.aWorksheets.length){
//помещаем новый sheet перед insertBefore
this.aWorksheets.splice(insertBefore, 0, newSheet);
......
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