From 442a3a722e7a229f410ee65ea7b24650b3806d57 Mon Sep 17 00:00:00 2001 From: Julia Svinareva Date: Thu, 12 Dec 2019 14:54:13 +0300 Subject: [PATCH] [DE mobile] Fix bug 43821 --- apps/documenteditor/mobile/app/view/edit/EditChart.js | 1 + apps/documenteditor/mobile/app/view/edit/EditParagraph.js | 1 + apps/documenteditor/mobile/app/view/edit/EditShape.js | 1 + apps/documenteditor/mobile/app/view/edit/EditTable.js | 1 + apps/documenteditor/mobile/app/view/edit/EditText.js | 2 ++ 5 files changed, 6 insertions(+) diff --git a/apps/documenteditor/mobile/app/view/edit/EditChart.js b/apps/documenteditor/mobile/app/view/edit/EditChart.js index e134d9128..b10a76587 100644 --- a/apps/documenteditor/mobile/app/view/edit/EditChart.js +++ b/apps/documenteditor/mobile/app/view/edit/EditChart.js @@ -213,6 +213,7 @@ define([ }, showStyle: function () { + var me = this; var selector = '#edit-chart-style'; this.showPage(selector, true); diff --git a/apps/documenteditor/mobile/app/view/edit/EditParagraph.js b/apps/documenteditor/mobile/app/view/edit/EditParagraph.js index b1b163da7..09efb0971 100644 --- a/apps/documenteditor/mobile/app/view/edit/EditParagraph.js +++ b/apps/documenteditor/mobile/app/view/edit/EditParagraph.js @@ -144,6 +144,7 @@ define([ }, showColors: function () { + var me = this; this.showPage('#edit-paragraph-color', true); this.paletteBackgroundColor = new Common.UI.ThemeColorPalette({ diff --git a/apps/documenteditor/mobile/app/view/edit/EditShape.js b/apps/documenteditor/mobile/app/view/edit/EditShape.js index 2e54952ff..6bf428bd8 100644 --- a/apps/documenteditor/mobile/app/view/edit/EditShape.js +++ b/apps/documenteditor/mobile/app/view/edit/EditShape.js @@ -194,6 +194,7 @@ define([ }, showBorderColor: function () { + var me = this; var selector = '#edit-shape-border-color-view'; this.showPage(selector, true); diff --git a/apps/documenteditor/mobile/app/view/edit/EditTable.js b/apps/documenteditor/mobile/app/view/edit/EditTable.js index ea5045f15..30b7e7976 100644 --- a/apps/documenteditor/mobile/app/view/edit/EditTable.js +++ b/apps/documenteditor/mobile/app/view/edit/EditTable.js @@ -220,6 +220,7 @@ define([ }, showBorderColor: function () { + var me = this; this.showPage('#edit-table-border-color-view', true); this.paletteBorderColor = new Common.UI.ThemeColorPalette({ diff --git a/apps/documenteditor/mobile/app/view/edit/EditText.js b/apps/documenteditor/mobile/app/view/edit/EditText.js index d131843ed..1a4a8b5ca 100644 --- a/apps/documenteditor/mobile/app/view/edit/EditText.js +++ b/apps/documenteditor/mobile/app/view/edit/EditText.js @@ -195,6 +195,7 @@ define([ }, showFontColor: function () { + var me = this; this.showPage('#edit-text-color', true); this.paletteTextColor = new Common.UI.ThemeColorPalette({ @@ -241,6 +242,7 @@ define([ }, showBackgroundColor: function () { + var me = this; this.showPage('#edit-text-background', true); this.paletteBackgroundColor = new Common.UI.ThemeColorPalette({