Commit 5126fc47 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

правка для http://bugzserver/show_bug.cgi?id=26102 - Ошибка в консоли при...

правка для http://bugzserver/show_bug.cgi?id=26102 - Ошибка в консоли при копировании таблицы с комментарием в колонтитул

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58080 954022d7-b5bf-4e40-9824-e11837661b57
parent 2a6a37de
......@@ -5321,7 +5321,7 @@ function BinaryFileReader(doc, openParams)
var oCommentsNewId = {};
for(var i in this.oReadResult.oComments)
{
if(this.oReadResult.oCommentsPlaces && this.oReadResult.oCommentsPlaces[i] && this.oReadResult.oCommentsPlaces[i].Start != null && this.oReadResult.oCommentsPlaces[i].End != null)
if(this.oReadResult.oCommentsPlaces && this.oReadResult.oCommentsPlaces[i] && this.oReadResult.oCommentsPlaces[i].Start != null && this.oReadResult.oCommentsPlaces[i].End != null && this.Document && this.Document.Comments && isCopyPaste === true)
{
var oOldComment = this.oReadResult.oComments[i];
var oNewComment = new CComment(this.Document.Comments, fInitCommentData(oOldComment))
......
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