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,6 +3361,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -3361,6 +3361,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Выставление локали // Выставление локали
spreadsheet_api.prototype.asc_setLocalization = function (oLocalizedData) { spreadsheet_api.prototype.asc_setLocalization = function (oLocalizedData) {
if (null == oLocalizedData) {
cFormulaFunctionLocalized = null;
cFormulaFunctionToLocale = null;
} else {
cFormulaFunctionLocalized = {}; cFormulaFunctionLocalized = {};
cFormulaFunctionToLocale = {}; cFormulaFunctionToLocale = {};
var localName; var localName;
...@@ -3370,6 +3374,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -3370,6 +3374,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
cFormulaFunctionLocalized[localName] = cFormulaFunction[i]; cFormulaFunctionLocalized[localName] = cFormulaFunction[i];
cFormulaFunctionToLocale[i] = localName; cFormulaFunctionToLocale[i] = localName;
} }
}
if (this.wb) if (this.wb)
this.wb.initFormulasList(); this.wb.initFormulasList();
}; };
......
...@@ -437,8 +437,3 @@ DrawingObjectsController.prototype.onKeyPress = function(e) ...@@ -437,8 +437,3 @@ DrawingObjectsController.prototype.onKeyPress = function(e)
// this.updateSelectionState(); // this.updateSelectionState();
return bRetValue; return bRetValue;
}; };
function CheckRightButtonEvent(e)
{
return e.button === 2;
}
\ 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