Skip to content
Snippets Groups Projects
Commit b1a3be3a authored by Vinciane's avatar Vinciane
Browse files

FIX #9511 Alert message

parent 6f22ac2f
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ export class TemplateAdministrationComponent implements OnInit {
this.template.template_datasource = 'letterbox_attachment';
}
if (this.template.template_style != 'uploadFile' && !this.template.jnlpUniqueId && !this.template.template_file_name && (this.template.template_type == 'OFFICE' || this.template.template_type == 'OFFICE_HTML')) {
if (this.template.template_style != 'uploadFile' && !this.template.jnlpUniqueId && !this.template.template_file_name && this.template.template_style && (this.template.template_type == 'OFFICE' || this.template.template_type == 'OFFICE_HTML')) {
alert(this.lang.editModelFirst);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment