Commit 05550ebe authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с функциями Undo/Redo для текстовых настроек (баг 19379).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48296 954022d7-b5bf-4e40-9824-e11837661b57
parent 64a1b0c2
......@@ -887,9 +887,9 @@ ParaTextPr.prototype =
case historyitem_TextPr_RFonts:
{
if ( undefined != Data.Old )
this.Value = Data.Old;
this.Value.RFonts = Data.Old;
else
this.Value = new CRFonts();
this.Value.RFonts = new CRFonts();
break;
}
......@@ -897,9 +897,9 @@ ParaTextPr.prototype =
case historyitem_TextPr_Lang:
{
if ( undefined != Data.Old )
this.Value = Data.Old;
this.Value.Lang = Data.Old;
else
this.Value = new CLang();
this.Value.Lang = new CLang();
break;
}
......@@ -1082,9 +1082,9 @@ ParaTextPr.prototype =
case historyitem_TextPr_RFonts:
{
if ( undefined != Data.New )
this.Value = Data.New;
this.Value.RFonts = Data.New;
else
this.Value = new CRFonts();
this.Value.RFonts = new CRFonts();
break;
}
......@@ -1092,9 +1092,9 @@ ParaTextPr.prototype =
case historyitem_TextPr_Lang:
{
if ( undefined != Data.New )
this.Value = Data.New;
this.Value.Lang = Data.New;
else
this.Value = new CLang();
this.Value.Lang = new CLang();
break;
}
......
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