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

Поправил выставление Id у комментария при копировании листа (раньше он был...

Поправил выставление Id у комментария при копировании листа (раньше он был всегда новый и не совпадал при совместном редактировании).
bug #31126

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66868 954022d7-b5bf-4e40-9824-e11837661b57
parent 5f06b65f
......@@ -3149,7 +3149,7 @@ Woorksheet.prototype.clone=function(sNewId, sName){
for (i = 0; i < this.aComments.length; i++) {
var comment = new asc_CCommentData(this.aComments[i]);
comment.wsId = oNewWs.getId();
comment.setId();
comment.nId = "sheet" + comment.wsId + "_" + (i + 1);
oNewWs.aComments.push(comment);
}
}
......
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