diff --git a/apps/documenteditor/mobile/app/template/EditText.template b/apps/documenteditor/mobile/app/template/EditText.template
index 6701dc869..3cc739904 100644
--- a/apps/documenteditor/mobile/app/template/EditText.template
+++ b/apps/documenteditor/mobile/app/template/EditText.template
@@ -16,10 +16,10 @@
diff --git a/apps/documenteditor/mobile/app/template/Settings.template b/apps/documenteditor/mobile/app/template/Settings.template
index 61c926c4b..1424ad858 100644
--- a/apps/documenteditor/mobile/app/template/Settings.template
+++ b/apps/documenteditor/mobile/app/template/Settings.template
@@ -828,9 +828,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>
@@ -843,9 +843,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>
@@ -858,9 +858,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>
@@ -873,9 +873,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>
diff --git a/apps/presentationeditor/mobile/app/template/EditText.template b/apps/presentationeditor/mobile/app/template/EditText.template
index adaa89127..0ef87b153 100644
--- a/apps/presentationeditor/mobile/app/template/EditText.template
+++ b/apps/presentationeditor/mobile/app/template/EditText.template
@@ -12,10 +12,10 @@
diff --git a/apps/spreadsheeteditor/main/app/view/ChartDataDialog.js b/apps/spreadsheeteditor/main/app/view/ChartDataDialog.js
index 496d0007c..dced53cc8 100644
--- a/apps/spreadsheeteditor/main/app/view/ChartDataDialog.js
+++ b/apps/spreadsheeteditor/main/app/view/ChartDataDialog.js
@@ -379,17 +379,11 @@ define([
},
onAddSeries: function() {
- var rec = (this.seriesList.store.length>0) ? this.seriesList.store.at(this.seriesList.store.length-1) : null,
- isScatter = false,
- me = this;
- rec && (isScatter = rec.get('series').asc_IsScatter());
+ var me = this;
me.chartSettings.startEditData();
- var series;
- if (isScatter) {
- series = me.chartSettings.addScatterSeries();
- } else {
- series = me.chartSettings.addSeries();
- }
+ var series = me.chartSettings.addSeries(),
+ isScatter = series.asc_IsScatter();
+
var handlerDlg = function(dlg, result) {
if (result == 'ok') {
me.updateRange();
diff --git a/apps/spreadsheeteditor/mobile/app/template/EditCell.template b/apps/spreadsheeteditor/mobile/app/template/EditCell.template
index edc50c93b..78bfe3806 100644
--- a/apps/spreadsheeteditor/mobile/app/template/EditCell.template
+++ b/apps/spreadsheeteditor/mobile/app/template/EditCell.template
@@ -16,9 +16,9 @@
diff --git a/apps/spreadsheeteditor/mobile/app/template/EditText.template b/apps/spreadsheeteditor/mobile/app/template/EditText.template
index 9191abcdc..4fd0b4750 100644
--- a/apps/spreadsheeteditor/mobile/app/template/EditText.template
+++ b/apps/spreadsheeteditor/mobile/app/template/EditText.template
@@ -16,9 +16,9 @@
diff --git a/apps/spreadsheeteditor/mobile/app/template/Settings.template b/apps/spreadsheeteditor/mobile/app/template/Settings.template
index fa64ef10e..52918491c 100644
--- a/apps/spreadsheeteditor/mobile/app/template/Settings.template
+++ b/apps/spreadsheeteditor/mobile/app/template/Settings.template
@@ -759,9 +759,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>
@@ -774,9 +774,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>
@@ -789,9 +789,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>
@@ -804,9 +804,9 @@
<% if (!android) { %>
<% } %>
- <% if (android) { %><% } else { %>-<% } %>
+ <% if (android) { %><% } else { %>-<% } %>
<% if (android) { %><% } %>
- <% if (android) { %><% } else { %>+<% } %>
+ <% if (android) { %><% } else { %>+<% } %>