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

при смене цветовой схемы обнулялось имя схемы.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49539 954022d7-b5bf-4e40-9824-e11837661b57
parent 6f40c2ab
......@@ -2692,6 +2692,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
if (index_scheme < _count_defaults) {
var _obj = g_oUserColorScheme[index_scheme];
var scheme = new ClrScheme();
scheme.name = _obj["name"];
var _c;
_c = _obj["dk1"];
......
......@@ -2919,6 +2919,7 @@ asc_docs_api.prototype.ChangeColorScheme = function(index_scheme)
{
var _obj = g_oUserColorScheme[index_scheme];
var scheme = new ClrScheme();
scheme.name = _obj["name"];
var _c = null;
_c = _obj["dk1"];
......
......@@ -5757,6 +5757,7 @@ asc_docs_api.prototype.ChangeColorScheme = function(index_scheme)
{
var _obj = g_oUserColorScheme[index_scheme];
var scheme = new ClrScheme();
scheme.name = _obj["name"];
var _c = null;
_c = _obj["dk1"];
......
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