Merge pull request #868 from Alfresco/dev-valbano-856

Added fix for visibility on dropdown
This commit is contained in:
Eugenio Romano
2016-10-11 16:02:59 +01:00
committed by GitHub
5 changed files with 716 additions and 574 deletions

View File

@@ -277,7 +277,7 @@ export class ActivitiForm implements OnInit, AfterViewChecked, OnChanges {
loadForm() {
if (this.taskId) {
this.getFormByTaskId(this.taskId);
this.visibilityService.getTaskProcessVariableModelsForTask(this.taskId);
this.visibilityService.getTaskProcessVariable(this.taskId);
return;
}
@@ -414,7 +414,7 @@ export class ActivitiForm implements OnInit, AfterViewChecked, OnChanges {
checkVisibility(field: FormFieldModel) {
if (field && field.form) {
this.visibilityService.updateVisibilityForForm(field.form);
this.visibilityService.refreshVisibility(field.form);
}
}