[DE] Fix Bug 33963

This commit is contained in:
Alexander Yuzhin 2017-02-08 10:27:37 +03:00
parent 20e00054bb
commit 5d554fb271

View file

@ -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 || {}))