[SSE] FormatSettingsDialog: use current regional settings for applying custom formats.

This commit is contained in:
Julia Radzhabova 2017-01-17 16:21:16 +03:00
parent 681d032adb
commit cf5b29461b

View file

@ -264,7 +264,7 @@ define([
}, },
getSettings: function () { getSettings: function () {
return {format: ''}; return {format: this.Format};
}, },
onDlgBtnClick: function(event) { onDlgBtnClick: function(event) {
@ -424,6 +424,7 @@ define([
} else { } else {
var info = new Asc.asc_CFormatCellsInfo(); var info = new Asc.asc_CFormatCellsInfo();
info.asc_setType(Asc.c_oAscNumFormatType.None); info.asc_setType(Asc.c_oAscNumFormatType.None);
info.asc_setSymbol(this.langId);
var formatsarr = this.api.asc_getFormatCells(info), var formatsarr = this.api.asc_getFormatCells(info),
data = []; data = [];