Commit 2d25943d authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Get_DeleteIndex учитываем LocalChange

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65535 954022d7-b5bf-4e40-9824-e11837661b57
parent fa23187e
......@@ -771,7 +771,12 @@ CHistory.prototype.Get_DeleteIndex = function () {
return null;
var DeleteIndex = 0;
for (var i = 0; i < DeletePointIndex; ++i) {
DeleteIndex += this.Points[i].Items.length;
var point = this.Points[i];
for (var j = 0; j < point.Items.length; ++j) {
if (!point.Items[j].LocalChange) {//LocalChange изменения не пойдут в совместное редактирование.
DeleteIndex += 1;
}
}
DeleteIndex += 1; // Это на взаимное расположение Sheet. Пишется в каждой точке изменений.
}
return DeleteIndex;
......
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