From 5d554fb271f8d58f4c71cf54d78be96c1025589e Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Wed, 8 Feb 2017 10:27:37 +0300 Subject: [PATCH] [DE] Fix Bug 33963 --- .../mobile/app/controller/edit/EditParagraph.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js index c169198e6..a4baffc1d 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js @@ -56,6 +56,7 @@ define([ _paragraphObject = undefined, _styles = [], _styleThumbSize, + _styleName, metricText = Common.Utils.Metric.getCurrentMetricName(); return { @@ -164,6 +165,8 @@ define([ if (palette) { palette.select(backColor); } + + $('#paragraph-list input[name=paragraph-style]').val([_styleName]); } }, @@ -324,7 +327,8 @@ define([ }, onApiParagraphStyleChange: function(name) { - $('#paragraph-list input[name=paragraph-style]').val([name]); + _styleName = name; + $('#paragraph-list input[name=paragraph-style]').val([_styleName]); } } })(), DE.Controllers.EditParagraph || {}))