Fix the attach content from alfresco and local (#5328)

This commit is contained in:
Maurizio Vitale
2019-12-12 13:41:40 +00:00
committed by Eugenio Romano
parent 4699f407e9
commit e1ff2909bd
7 changed files with 24 additions and 13 deletions

View File

@@ -210,6 +210,7 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges,
this.visibilityService.refreshVisibility(<any> parsedForm);
parsedForm.validateForm();
this.form = parsedForm;
this.form.nodeId = '-my-';
this.form.contentHost = this.appConfigService.get('ecmHost');
this.onFormLoaded(this.form);
resolve(this.form);
@@ -238,6 +239,7 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges,
this.visibilityService.refreshVisibility(<any> parsedForm);
parsedForm.validateForm();
this.form = parsedForm;
this.form.nodeId = '-my-';
this.form.contentHost = this.appConfigService.get('ecmHost');
this.onFormLoaded(this.form);
},