Commit 55f54cb5 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил asc_setLocale

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68421 954022d7-b5bf-4e40-9824-e11837661b57
parent f755c6a2
...@@ -421,8 +421,8 @@ var editor; ...@@ -421,8 +421,8 @@ var editor;
}; };
spreadsheet_api.prototype.asc_setLocale = function(val) { spreadsheet_api.prototype.asc_setLocale = function(val) {
g_oDefaultCultureInfo = g_aCultureInfos[val]; g_oDefaultCultureInfo = g_aCultureInfos[val];
parserHelp.setDigitSeparator( g_oDefaultCultureInfo.NumberDecimalSeparator );
if (this.wbModel) { if (this.wbModel) {
parserHelp.setDigitSeparator( g_oDefaultCultureInfo.NumberDecimalSeparator );
oGeneralEditFormatCache.cleanCache(); oGeneralEditFormatCache.cleanCache();
oNumFormatCache.cleanCache(); oNumFormatCache.cleanCache();
this.wbModel.rebuildColors(); this.wbModel.rebuildColors();
......
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