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

правка бага 21791 - [CoEdit] Часть тем приходят с темной заливкой полей ввода теста

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51413 954022d7-b5bf-4e40-9824-e11837661b57
parent f6748907
......@@ -3373,10 +3373,10 @@ function ClrMap()
{
for(var i = g_clr_MIN; i <= g_clr_MAX; i++)
{
w.WriteBool(isRealObject(this.color_map[i]));
if(isRealObject(this.color_map[i]))
w.WriteBool(isRealNumber(this.color_map[i]));
if(isRealNumber(this.color_map[i]))
{
this.color_map[i].Write_ToBinary2(w);
w.WriteLong(this.color_map[i]);
}
}
};
......@@ -3387,8 +3387,7 @@ function ClrMap()
{
if(r.GetBool())
{
this.color_map[i] = new CUniColor();
this.color_map[i].Read_FromBinary2(r);
this.color_map[i] = r.GetLong();
}
else
{
......
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