[DE] Fix list content controls

This commit is contained in:
Julia Radzhabova 2019-12-12 09:49:35 +03:00
parent 0125ad24f3
commit b75e8ca64a

View file

@ -412,6 +412,7 @@ define([ 'text!documenteditor/main/app/template/ControlSettingsDialog.template',
// for list controls
if (this.type == Asc.c_oAscContentControlSpecificType.ComboBox || this.type == Asc.c_oAscContentControlSpecificType.DropDownList) {
var specProps = (this.type == Asc.c_oAscContentControlSpecificType.ComboBox) ? this.props.get_ComboBoxPr() : this.props.get_DropDownListPr();
specProps.clear();
this.list.store.each(function (item, index) {
specProps.add_Item(item.get('name'), item.get('value'));
});