Correctly invoke the function to add unknown universities.

This commit is contained in:
Paulo Reis 2018-08-24 15:29:48 +01:00
parent 740571475c
commit 920c24cacb

View file

@ -2,6 +2,7 @@ form.row(
ng-controller="UserAffiliationsController"
name="affiliationsForm"
)
pre(style="position: fixed; width: 200px; left: 0;") {{ newAffiliation | json }}
.col-md-12
h3 #{translate("emails_and_affiliations_title")}
p.small #{translate("emails_and_affiliations_explanation")}
@ -192,7 +193,7 @@ script(type="text/ng-template", id="affiliationFormTpl")
ui-select(
ng-model="$ctrl.affiliationData.university"
ng-disabled="!$ctrl.affiliationData.country"
tagging="$ctrladdUniversityToSelection"
tagging="$ctrl.addUniversityToSelection"
tagging-label="false"
)
ui-select-match(