mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 09:31:47 +00:00
Correctly invoke the function to add unknown universities.
This commit is contained in:
parent
740571475c
commit
920c24cacb
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ form.row(
|
||||||
ng-controller="UserAffiliationsController"
|
ng-controller="UserAffiliationsController"
|
||||||
name="affiliationsForm"
|
name="affiliationsForm"
|
||||||
)
|
)
|
||||||
|
pre(style="position: fixed; width: 200px; left: 0;") {{ newAffiliation | json }}
|
||||||
.col-md-12
|
.col-md-12
|
||||||
h3 #{translate("emails_and_affiliations_title")}
|
h3 #{translate("emails_and_affiliations_title")}
|
||||||
p.small #{translate("emails_and_affiliations_explanation")}
|
p.small #{translate("emails_and_affiliations_explanation")}
|
||||||
|
@ -192,7 +193,7 @@ script(type="text/ng-template", id="affiliationFormTpl")
|
||||||
ui-select(
|
ui-select(
|
||||||
ng-model="$ctrl.affiliationData.university"
|
ng-model="$ctrl.affiliationData.university"
|
||||||
ng-disabled="!$ctrl.affiliationData.country"
|
ng-disabled="!$ctrl.affiliationData.country"
|
||||||
tagging="$ctrladdUniversityToSelection"
|
tagging="$ctrl.addUniversityToSelection"
|
||||||
tagging-label="false"
|
tagging-label="false"
|
||||||
)
|
)
|
||||||
ui-select-match(
|
ui-select-match(
|
||||||
|
|
Loading…
Reference in a new issue