[DE] Fix Bug 33963
This commit is contained in:
parent
20e00054bb
commit
5d554fb271
|
@ -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([
|
||||||
if (palette) {
|
if (palette) {
|
||||||
palette.select(backColor);
|
palette.select(backColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('#paragraph-list input[name=paragraph-style]').val([_styleName]);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -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 || {}))
|
||||||
|
|
Loading…
Reference in a new issue