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

FIX #9511 Fix alert message on update after load an existing office

parent 00433840
No related branches found
No related tags found
No related merge requests found
......@@ -282,7 +282,7 @@ export class TemplateAdministrationComponent implements OnInit {
if (this.template.template_target != 'notifications') {
this.template.template_datasource = 'letterbox_attachment';
}
if (this.creationMode && this.template.template_style != 'uploadFile' && !this.template.jnlpUniqueId && (this.template.template_type == 'OFFICE' || (this.template.template_type == 'OFFICE_HTML' && this.template.template_style))) {
if (this.template.template_style != 'uploadFile' && !this.template.jnlpUniqueId && (this.template.template_type == 'OFFICE' || (this.template.template_type == 'OFFICE_HTML' && this.template.template_style))) {
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