Commit fef47f36 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 26789 - Ошибка в консоли после удаления комментария и undo

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58645 954022d7-b5bf-4e40-9824-e11837661b57
parent 3bd9105c
...@@ -1530,7 +1530,7 @@ SlideComments.prototype = ...@@ -1530,7 +1530,7 @@ SlideComments.prototype =
case historyitem_SlideCommentsRemoveComment: case historyitem_SlideCommentsRemoveComment:
{ {
this.comments.splice(data.Pos, 0, g_oTableId.Get_ById(data.id)); this.comments.splice(data.Pos, 0, g_oTableId.Get_ById(data.id));
editor.sync_AddComment( this.comments[data.index].Get_Id(), this.comments[data.index].Data); editor.sync_AddComment( this.comments[data.Pos].Get_Id(), this.comments[data.Pos].Data);
break; 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