Commit f5a54616 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

В asc_setLocalization если не передавать параментов, то будет язык по...

В asc_setLocalization если не передавать параментов, то будет язык по умолчанию английский без локализации.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62577 954022d7-b5bf-4e40-9824-e11837661b57
parent ae0c9f30
......@@ -3361,14 +3361,19 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Выставление локали
spreadsheet_api.prototype.asc_setLocalization = function (oLocalizedData) {
cFormulaFunctionLocalized = {};
cFormulaFunctionToLocale = {};
var localName;
for (var i in cFormulaFunction) {
localName = oLocalizedData[i]['n'];
localName = localName ? localName : i;
cFormulaFunctionLocalized[localName] = cFormulaFunction[i];
cFormulaFunctionToLocale[i] = localName;
if (null == oLocalizedData) {
cFormulaFunctionLocalized = null;
cFormulaFunctionToLocale = null;
} else {
cFormulaFunctionLocalized = {};
cFormulaFunctionToLocale = {};
var localName;
for (var i in cFormulaFunction) {
localName = oLocalizedData[i]['n'];
localName = localName ? localName : i;
cFormulaFunctionLocalized[localName] = cFormulaFunction[i];
cFormulaFunctionToLocale[i] = localName;
}
}
if (this.wb)
this.wb.initFormulasList();
......
......@@ -436,9 +436,4 @@ DrawingObjectsController.prototype.onKeyPress = function(e)
//if ( true == bRetValue )
// this.updateSelectionState();
return bRetValue;
};
function CheckRightButtonEvent(e)
{
return e.button === 2;
}
\ No newline at end of file
};
\ No newline at end of file
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