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

поправлен баг 18948 - Ошибка в консоли "kb" при добавлении маркированного...

поправлен баг 18948 - Ошибка в консоли "kb" при добавлении маркированного списка в пустую автофигуру

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47082 954022d7-b5bf-4e40-9824-e11837661b57
parent 4fcb3b15
......@@ -5542,7 +5542,7 @@ CGraphicObjects.prototype =
if(cur_state.id === STATES_ID_NULL)
{
var selected_array = this.selectionInfo.selectionArray;
if(selected_array.length === 1 && typeof selected_array[0].GraphicObj.setParagraphNumbering === "function")
if(selected_array.length === 1 && typeof selected_array[0].GraphicObj.setParagraphNumbering === "function" && isRealObject(selected_array[0].GraphicObj.textBoxContent))
{
this.changeCurrentState(new TextAddState(this, selected_array[0]));
selected_array[0].setAllParagraphNumbering(NumInfo);
......
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