Commit 08bcc30e authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с обновлением интерфейса (баг 28228).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64652 954022d7-b5bf-4e40-9824-e11837661b57
parent 055fb2e3
...@@ -2056,36 +2056,20 @@ asc_docs_api.prototype.UpdateTextPr = function(TextPr) ...@@ -2056,36 +2056,20 @@ asc_docs_api.prototype.UpdateTextPr = function(TextPr)
{ {
if ( "undefined" != typeof(TextPr) ) if ( "undefined" != typeof(TextPr) )
{ {
if (TextPr.Bold !== undefined)
this.sync_BoldCallBack(TextPr.Bold); this.sync_BoldCallBack(TextPr.Bold);
if (TextPr.Italic !== undefined)
this.sync_ItalicCallBack(TextPr.Italic); this.sync_ItalicCallBack(TextPr.Italic);
if (TextPr.Underline !== undefined)
this.sync_UnderlineCallBack(TextPr.Underline); this.sync_UnderlineCallBack(TextPr.Underline);
if (TextPr.Strikeout !== undefined)
this.sync_StrikeoutCallBack(TextPr.Strikeout); this.sync_StrikeoutCallBack(TextPr.Strikeout);
if (TextPr.FontSize !== undefined)
this.sync_TextPrFontSizeCallBack(TextPr.FontSize); this.sync_TextPrFontSizeCallBack(TextPr.FontSize);
if (TextPr.FontFamily !== undefined)
this.sync_TextPrFontFamilyCallBack(TextPr.FontFamily); this.sync_TextPrFontFamilyCallBack(TextPr.FontFamily);
if (TextPr.VertAlign !== undefined)
this.sync_VerticalAlign(TextPr.VertAlign); this.sync_VerticalAlign(TextPr.VertAlign);
if (TextPr.HighLight !== undefined)
this.sync_TextHighLight(TextPr.HighLight); this.sync_TextHighLight(TextPr.HighLight);
if (TextPr.Spacing !== undefined)
this.sync_TextSpacing(TextPr.Spacing); this.sync_TextSpacing(TextPr.Spacing);
if (TextPr.DStrikeout !== undefined)
this.sync_TextDStrikeout(TextPr.DStrikeout); this.sync_TextDStrikeout(TextPr.DStrikeout);
if (TextPr.Caps !== undefined)
this.sync_TextCaps(TextPr.Caps); this.sync_TextCaps(TextPr.Caps);
if (TextPr.SmallCaps !== undefined)
this.sync_TextSmallCaps(TextPr.SmallCaps); this.sync_TextSmallCaps(TextPr.SmallCaps);
if (TextPr.Position !== undefined)
this.sync_TextPosition(TextPr.Position); this.sync_TextPosition(TextPr.Position);
if (TextPr.Lang !== undefined)
this.sync_TextLangCallBack(TextPr.Lang); this.sync_TextLangCallBack(TextPr.Lang);
this.sync_TextColor(TextPr); this.sync_TextColor(TextPr);
} }
}; };
......
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