diff --git a/apps/documenteditor/mobile/app/controller/Settings.js b/apps/documenteditor/mobile/app/controller/Settings.js
index ae3df00a3..46bde3512 100644
--- a/apps/documenteditor/mobile/app/controller/Settings.js
+++ b/apps/documenteditor/mobile/app/controller/Settings.js
@@ -355,20 +355,21 @@ define([
onSendThemeColorSchemes: function (schemas) {
templateInsert = "";
_.each(schemas, function (schema, index) {
- var colors = schema.get_colors();//schema.colors;
- templateInsert = templateInsert + "";
}, this);
},
onColorSchemaClick: function(event) {
if (this.api) {
- var ind = $(event.currentTarget).children('input').val();
- this.api.ChangeColorScheme(ind);
+ var name = $(event.currentTarget).children('input').val();
+ this.api.ChangeColorScheme(name);
}
},
diff --git a/apps/presentationeditor/mobile/app/controller/Settings.js b/apps/presentationeditor/mobile/app/controller/Settings.js
index e034693f2..223fb54d0 100644
--- a/apps/presentationeditor/mobile/app/controller/Settings.js
+++ b/apps/presentationeditor/mobile/app/controller/Settings.js
@@ -250,20 +250,21 @@ define([
onSendThemeColorSchemes: function (schemas) {
templateInsert = "";
_.each(schemas, function (schema, index) {
- var colors = schema.get_colors();//schema.colors;
- templateInsert = templateInsert + "";
}, this);
},
onColorSchemaClick: function (event) {
if (this.api) {
- var ind = $(event.currentTarget).children('input').val();
- this.api.ChangeColorScheme(ind);
+ var name = $(event.currentTarget).children('input').val();
+ this.api.ChangeColorScheme(name);
}
},
diff --git a/apps/spreadsheeteditor/mobile/app/controller/Settings.js b/apps/spreadsheeteditor/mobile/app/controller/Settings.js
index b8a176d08..ad3aac455 100644
--- a/apps/spreadsheeteditor/mobile/app/controller/Settings.js
+++ b/apps/spreadsheeteditor/mobile/app/controller/Settings.js
@@ -511,20 +511,21 @@ define([
onSendThemeColorSchemes: function (schemas) {
templateInsert = "";
_.each(schemas, function (schema, index) {
- var colors = schema.get_colors();//schema.colors;
- templateInsert = templateInsert + "";
}, this);
},
onColorSchemaClick: function(event) {
if (this.api) {
- var ind = $(event.currentTarget).children('input').val();
- this.api.asc_ChangeColorScheme(ind);
+ var name = $(event.currentTarget).children('input').val();
+ this.api.asc_ChangeColorScheme(name);
}
},