Commit 429bde9c authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с созданием списков (баг 20433).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50361 954022d7-b5bf-4e40-9824-e11837661b57
parent 6fda3f45
...@@ -4302,7 +4302,6 @@ CDocument.prototype = ...@@ -4302,7 +4302,6 @@ CDocument.prototype =
{ {
NumId = this.Numbering.Create_AbstractNum(); NumId = this.Numbering.Create_AbstractNum();
AbstractNum = this.Numbering.Get_AbstractNum( NumId ); AbstractNum = this.Numbering.Get_AbstractNum( NumId );
AbstractNum.Create_Default_Numbered();
ChangeLvl = 0; ChangeLvl = 0;
} }
else if ( true === bDiffId || true != this.Numbering.Check_Format( PrevId, PrevLvl, numbering_numfmt_Decimal ) ) else if ( true === bDiffId || true != this.Numbering.Check_Format( PrevId, PrevLvl, numbering_numfmt_Decimal ) )
...@@ -4683,6 +4682,7 @@ CDocument.prototype = ...@@ -4683,6 +4682,7 @@ CDocument.prototype =
{ {
var NumId = this.Numbering.Create_AbstractNum(); var NumId = this.Numbering.Create_AbstractNum();
AbstractNum = this.Numbering.Get_AbstractNum( NumId ); AbstractNum = this.Numbering.Get_AbstractNum( NumId );
AbstractNum.Create_Default_Numbered();
ChangeLvl = 0; ChangeLvl = 0;
} }
......
...@@ -3991,7 +3991,6 @@ CDocumentContent.prototype = ...@@ -3991,7 +3991,6 @@ CDocumentContent.prototype =
{ {
NumId = this.Numbering.Create_AbstractNum(); NumId = this.Numbering.Create_AbstractNum();
AbstractNum = this.Numbering.Get_AbstractNum( NumId ); AbstractNum = this.Numbering.Get_AbstractNum( NumId );
AbstractNum.Create_Default_Numbered();
ChangeLvl = 0; ChangeLvl = 0;
} }
else if ( true === bDiffId || true != this.Numbering.Check_Format( PrevId, PrevLvl, numbering_numfmt_Decimal ) ) else if ( true === bDiffId || true != this.Numbering.Check_Format( PrevId, PrevLvl, numbering_numfmt_Decimal ) )
...@@ -4367,6 +4366,7 @@ CDocumentContent.prototype = ...@@ -4367,6 +4366,7 @@ CDocumentContent.prototype =
{ {
var NumId = this.Numbering.Create_AbstractNum(); var NumId = this.Numbering.Create_AbstractNum();
AbstractNum = this.Numbering.Get_AbstractNum( NumId ); AbstractNum = this.Numbering.Get_AbstractNum( NumId );
AbstractNum.Create_Default_Numbered();
ChangeLvl = 0; ChangeLvl = 0;
} }
......
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