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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47834 954022d7-b5bf-4e40-9824-e11837661b57
parent 905945e7
......@@ -3454,11 +3454,7 @@ function CDrawingDocument()
}
this.SelectClear = function()
{
if (this.m_oWordControl.MobileTouchManager)
{
this.m_oWordControl.MobileTouchManager.RectSelect1 = null;
this.m_oWordControl.MobileTouchManager.RectSelect2 = null;
}
}
this.SearchClear = function()
{
......
......@@ -480,7 +480,7 @@ Paragraph.prototype =
// Удаляем несколько элементов
Internal_Content_Remove2 : function(Pos, Count)
{
var DocumentComments = editor.WordControl.m_oLogicDocument.Comments;
/*var DocumentComments = editor.WordControl.m_oLogicDocument.Comments;
var CommentsToDelete = new Object();
for ( var Index = Pos; Index < Pos + Count; Index++ )
{
......@@ -494,7 +494,7 @@ Paragraph.prototype =
CommentsToDelete[this.Content[Index].Id] = 1;
}
}
} */
var LastArray = this.Content.slice( Pos, Pos + Count );
......@@ -592,10 +592,10 @@ Paragraph.prototype =
this.Content.splice( Pos, Count );
// Комментарии удаляем после, чтобы не нарушить позиции
for ( var Id in CommentsToDelete )
/* for ( var Id in CommentsToDelete )
{
editor.WordControl.m_oLogicDocument.Remove_Comment( Id, true );
}
} */
// Передвинем все метки слов для проверки орфографии
// this.SpellChecker.Update_OnRemove( this, Pos, Count );
......
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