[DE] Fix picture control settings

This commit is contained in:
Julia Radzhabova 2020-10-07 10:43:12 +03:00
parent 71f6386199
commit bcaa907108

View file

@ -573,9 +573,10 @@ define([
var data = []; var data = [];
if (type == Asc.c_oAscContentControlSpecificType.CheckBox) if (type == Asc.c_oAscContentControlSpecificType.CheckBox)
data = this.api.asc_GetCheckBoxFormKeys(); data = this.api.asc_GetCheckBoxFormKeys();
else if (type == Asc.c_oAscContentControlSpecificType.Picture) else if (type == Asc.c_oAscContentControlSpecificType.Picture) {
data = this.api.asc_GetPictureFormKeys(); data = this.api.asc_GetPictureFormKeys();
else this.labelFormName.text(this.textImage);
} else
data = this.api.asc_GetTextFormKeys(); data = this.api.asc_GetTextFormKeys();
var arr = []; var arr = [];
data.forEach(function(item) { data.forEach(function(item) {