Commit cbf0baa0 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

bug #31529 - Разделитель целой и дробной части (запятая) не учитывается при автозаполнении ячеек

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68138 954022d7-b5bf-4e40-9824-e11837661b57
parent d5825534
...@@ -8826,7 +8826,8 @@ Range.prototype._promoteFromTo=function(from, to, bIsPromote, oCanPromote, bCtrl ...@@ -8826,7 +8826,8 @@ Range.prototype._promoteFromTo=function(from, to, bIsPromote, oCanPromote, bCtrl
var sVal = ""; var sVal = "";
if(null != data.sPrefix) if(null != data.sPrefix)
sVal += data.sPrefix; sVal += data.sPrefix;
sVal += data.nCurValue; //change javascript NumberDecimalSeparator '.' , to cultural NumberDecimalSeparator
sVal += data.nCurValue.toString().replace(/\./g, g_oDefaultCultureInfo.NumberDecimalSeparator);
oCopyCell.setValue(sVal); oCopyCell.setValue(sVal);
} }
else if(null != oFromCell) else if(null != oFromCell)
......
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