Commit 5d554fb2 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE] Fix Bug 33963

parent 20e00054
...@@ -56,6 +56,7 @@ define([ ...@@ -56,6 +56,7 @@ define([
_paragraphObject = undefined, _paragraphObject = undefined,
_styles = [], _styles = [],
_styleThumbSize, _styleThumbSize,
_styleName,
metricText = Common.Utils.Metric.getCurrentMetricName(); metricText = Common.Utils.Metric.getCurrentMetricName();
return { return {
...@@ -164,6 +165,8 @@ define([ ...@@ -164,6 +165,8 @@ define([
if (palette) { if (palette) {
palette.select(backColor); palette.select(backColor);
} }
$('#paragraph-list input[name=paragraph-style]').val([_styleName]);
} }
}, },
...@@ -324,7 +327,8 @@ define([ ...@@ -324,7 +327,8 @@ define([
}, },
onApiParagraphStyleChange: function(name) { onApiParagraphStyleChange: function(name) {
$('#paragraph-list input[name=paragraph-style]').val([name]); _styleName = name;
$('#paragraph-list input[name=paragraph-style]').val([_styleName]);
} }
} }
})(), DE.Controllers.EditParagraph || {})) })(), DE.Controllers.EditParagraph || {}))
......
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