Commit 0734ddb4 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Поправила баг : не копировался argSize контента (CopyTo)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64141 954022d7-b5bf-4e40-9824-e11837661b57
parent e24c721f
...@@ -325,6 +325,10 @@ CMathArgSize.prototype = ...@@ -325,6 +325,10 @@ CMathArgSize.prototype =
{ {
this.value = ArgSize.value; this.value = ArgSize.value;
}, },
Get: function()
{
return this.value;
},
SetValue: function(val) SetValue: function(val)
{ {
if(val < - 2) if(val < - 2)
...@@ -1840,6 +1844,7 @@ CMathContent.prototype.CopyTo = function(OtherContent, Selected) ...@@ -1840,6 +1844,7 @@ CMathContent.prototype.CopyTo = function(OtherContent, Selected)
} }
OtherContent.plHid = this.plhHide; OtherContent.plHid = this.plhHide;
OtherContent.SetArgSize(this.ArgSize.Get());
for(var nPos = nStartPos; nPos <= nEndPos; nPos++) for(var nPos = nStartPos; nPos <= nEndPos; nPos++)
{ {
......
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