Commit 42cf3121 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с определением залоченности таблицы в совместном редактировании (баг 19590 reop).


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50964 954022d7-b5bf-4e40-9824-e11837661b57
parent 0fd367ab
......@@ -10570,6 +10570,9 @@ CDocument.prototype =
var StartPos = ( this.Selection.StartPos > this.Selection.EndPos ? this.Selection.EndPos : this.Selection.StartPos );
var EndPos = ( this.Selection.StartPos > this.Selection.EndPos ? this.Selection.StartPos : this.Selection.EndPos );
if ( StartPos != EndPos && changestype_Delete === CheckType )
CheckType = changestype_Remove;
for ( var Index = StartPos; Index <= EndPos; Index++ )
this.Content[Index].Document_Is_SelectionLocked(CheckType);
}
......
......@@ -7545,6 +7545,9 @@ CDocumentContent.prototype =
var StartPos = ( this.Selection.StartPos > this.Selection.EndPos ? this.Selection.EndPos : this.Selection.StartPos );
var EndPos = ( this.Selection.StartPos > this.Selection.EndPos ? this.Selection.StartPos : this.Selection.EndPos );
if ( StartPos != EndPos && changestype_Delete === CheckType )
CheckType = changestype_Remove;
for ( var Index = StartPos; Index <= EndPos; Index++ )
this.Content[Index].Document_Is_SelectionLocked(CheckType);
}
......
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