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

Исправлен баг с непоявлением вариантов замены, после смены языка (баг 19559).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49473 954022d7-b5bf-4e40-9824-e11837661b57
parent 57ab4c5f
...@@ -838,15 +838,16 @@ Paragraph.prototype.Continue_CheckSpelling = function() ...@@ -838,15 +838,16 @@ Paragraph.prototype.Continue_CheckSpelling = function()
var Lang = this.Internal_GetLang( Element.EndPos ); var Lang = this.Internal_GetLang( Element.EndPos );
if ( CurLang != Lang.Val ) if ( CurLang != Lang.Val )
{ {
Element.Lang = Lang.Val; Element.Lang = Lang.Val;
Element.Checked = null; Element.Checked = null;
Element.Variants = null;
} }
} }
} }
this.SpellChecker.RecalcId = this.LogicDocument.RecalcId; this.SpellChecker.RecalcId = this.LogicDocument.RecalcId;
this.SpellChecker.ParaId = this.Get_Id(); this.SpellChecker.ParaId = this.Get_Id();
this.SpellChecker.Check(ParaForceRedraw); this.SpellChecker.Check(ParaForceRedraw );
this.RecalcInfo.Recalc_0_Spell.Type = pararecalc_0_Spell_None; this.RecalcInfo.Recalc_0_Spell.Type = pararecalc_0_Spell_None;
}; };
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