Merge pull request #526 from ONLYOFFICE/fix/bug-46645

Fix Bug 46645
This commit is contained in:
Julia Radzhabova 2020-10-14 16:48:52 +03:00 committed by GitHub
commit d555827d0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -524,6 +524,10 @@ define([ 'text!documenteditor/main/app/template/ControlSettingsDialog.template',
val = formTextPr.get_Width();
this.spnWidth.setValue(val ? val : '', true);
}
if ((type == Asc.c_oAscContentControlSpecificType.CheckBox || type == Asc.c_oAscContentControlSpecificType.Picture) && !formPr ) {// standart checkbox or picture
this.txtPlaceholder.cmpEl && this.txtPlaceholder.cmpEl.closest('tr').hide();
}
}
},