Commit 4acd6353 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка бага 21442 - Ввод текста доступен для автофигур категории Lines

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50822 954022d7-b5bf-4e40-9824-e11837661b57
parent 05aa2b9d
...@@ -710,7 +710,7 @@ function CCollaborativeEditing() ...@@ -710,7 +710,7 @@ function CCollaborativeEditing()
if(Class instanceof CShape if(Class instanceof CShape
|| Class instanceof CImageShape || Class instanceof CImageShape
|| Class instanceof CGroupShape || Class instanceof CGroupShape
) || Class instanceof CGraphicFrame)
{ {
check_obj = check_obj =
{ {
......
...@@ -135,7 +135,7 @@ CGraphicObjects.prototype = { ...@@ -135,7 +135,7 @@ CGraphicObjects.prototype = {
{ {
if(this.selectedObjects.length === 1) if(this.selectedObjects.length === 1)
{ {
if(typeof this.selectedObjects[0].paragraphAdd === "function") if(!CheckObjectLine(this.selectedObjects[0]) && typeof this.selectedObjects[0].paragraphAdd === "function")
{ {
if(editor.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Drawing_Props) === false) if(editor.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Drawing_Props) === false)
{ {
......
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