Commit 086d8b7e authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с добавлением картинок и таблиц в DocumentContent.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47869 954022d7-b5bf-4e40-9824-e11837661b57
parent c5dc002c
......@@ -1514,6 +1514,9 @@ CDocumentContent.prototype =
}
else //if ( docpostype_Content === this.CurPos.Type )
{
if ( true == this.Selection.Use )
this.Remove( 1, true );
var Item = this.Content[this.CurPos.ContentPos];
if ( type_Paragraph == Item.GetType() )
{
......@@ -1558,6 +1561,9 @@ CDocumentContent.prototype =
if ( this.CurPos.ContentPos < 0 )
return false;
if ( true == this.Selection.Use )
this.Remove( 1, true );
// Добавляем таблицу
var Item = this.Content[this.CurPos.ContentPos];
......
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