[DE] Fix list content controls
This commit is contained in:
parent
0125ad24f3
commit
b75e8ca64a
|
@ -412,6 +412,7 @@ define([ 'text!documenteditor/main/app/template/ControlSettingsDialog.template',
|
||||||
// for list controls
|
// for list controls
|
||||||
if (this.type == Asc.c_oAscContentControlSpecificType.ComboBox || this.type == Asc.c_oAscContentControlSpecificType.DropDownList) {
|
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();
|
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) {
|
this.list.store.each(function (item, index) {
|
||||||
specProps.add_Item(item.get('name'), item.get('value'));
|
specProps.add_Item(item.get('name'), item.get('value'));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue