[PE] Header/Footer: reset preset name

This commit is contained in:
Julia Radzhabova 2019-07-23 13:56:02 +03:00
parent 3c8d3c8e5c
commit f97967a60c

View file

@ -763,6 +763,7 @@ define([
}, },
onPresetSelect: function(footer, combo, record) { onPresetSelect: function(footer, combo, record) {
combo.setValue(this.textPresets);
if (this.HFObject) if (this.HFObject)
this.HFObject.applyPreset(record.value, !!footer); this.HFObject.applyPreset(record.value, !!footer);
this.onCanvasClick(footer ? '#footer-left-img' : '#header-left-img'); this.onCanvasClick(footer ? '#footer-left-img' : '#header-left-img');