[DE] Fix Bug 54218

This commit is contained in:
Julia Radzhabova 2021-12-01 23:22:38 +03:00
parent 2757411583
commit d9d367810f
2 changed files with 4 additions and 2 deletions

View file

@ -1390,7 +1390,8 @@ define([ 'text!documenteditor/main/app/template/ImageSettingsAdvanced.templat
if (control_props) {
var spectype = control_props.get_SpecificType();
fixed_size = (spectype==Asc.c_oAscContentControlSpecificType.CheckBox || spectype==Asc.c_oAscContentControlSpecificType.ComboBox ||
spectype==Asc.c_oAscContentControlSpecificType.DropDownList || spectype==Asc.c_oAscContentControlSpecificType.None) &&
spectype==Asc.c_oAscContentControlSpecificType.DropDownList || spectype==Asc.c_oAscContentControlSpecificType.None ||
spectype==Asc.c_oAscContentControlSpecificType.Picture) &&
control_props.get_FormPr() && control_props.get_FormPr().get_Fixed();
}

View file

@ -798,7 +798,8 @@ define([
if (control_props) {
var spectype = control_props.get_SpecificType();
control_props = (spectype==Asc.c_oAscContentControlSpecificType.CheckBox || spectype==Asc.c_oAscContentControlSpecificType.ComboBox ||
spectype==Asc.c_oAscContentControlSpecificType.DropDownList || spectype==Asc.c_oAscContentControlSpecificType.None) &&
spectype==Asc.c_oAscContentControlSpecificType.DropDownList || spectype==Asc.c_oAscContentControlSpecificType.None ||
spectype==Asc.c_oAscContentControlSpecificType.Picture) &&
control_props.get_FormPr() && control_props.get_FormPr().get_Fixed();
} else
control_props = false;