Commit 6bda4d32 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Исправил падение с вызова свойств шейпа, если до этого набирали текст

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48855 954022d7-b5bf-4e40-9824-e11837661b57
parent 61ad07fc
...@@ -5308,7 +5308,7 @@ CDocumentContent.prototype = ...@@ -5308,7 +5308,7 @@ CDocumentContent.prototype =
Pr.Ind.FirstLine = StartPr.Ind.FirstLine; Pr.Ind.FirstLine = StartPr.Ind.FirstLine;
Result_ParaPr = Pr; Result_ParaPr = Pr;
Result_ParaPr.CanAddTable = ( true === Pr.Locked ? false : true ); //Result_ParaPr.CanAddTable = ( true === Pr.Locked ? false : true );
return Result_ParaPr; return Result_ParaPr;
} }
...@@ -5381,7 +5381,7 @@ CDocumentContent.prototype = ...@@ -5381,7 +5381,7 @@ CDocumentContent.prototype =
//var Locked = Item.Lock.Is_Locked(); //var Locked = Item.Lock.Is_Locked();
Result_ParaPr = ParaPr.Copy(); Result_ParaPr = ParaPr.Copy();
Result_ParaPr.Locked = Locked; //Result_ParaPr.Locked = Locked;
//Result_ParaPr.CanAddTable = ( ( true === Locked ) ? ( ( true === Item.Cursor_IsEnd() ) ? true : false ) : true ); //Result_ParaPr.CanAddTable = ( ( true === Locked ) ? ( ( true === Item.Cursor_IsEnd() ) ? true : false ) : true );
} }
else if ( type_Table == Item.GetType() ) else if ( type_Table == Item.GetType() )
......
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