diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-07 22:50:03 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-03-07 23:24:00 +0100 |
commit | 62cc23d37df60b130633224e251d7840ae3c6ca1 (patch) | |
tree | ca7286569f9031742d9847373cda5bef047ee2c2 /templates/detailItems | |
parent | d9bdc42176e4b90aca4e05b434be89818cd87836 (diff) |
Set focus on group field after adding
Diffstat (limited to 'templates/detailItems')
-rw-r--r-- | templates/detailItems/groups.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/detailItems/groups.html b/templates/detailItems/groups.html index c9b23538..b051a6bb 100644 --- a/templates/detailItems/groups.html +++ b/templates/detailItems/groups.html @@ -1,7 +1,7 @@ <label ng-if="ctrl.availableOptions.length === 0" for="details-{{ctrl.name}}">{{ctrl.meta.readableName}}</label> <ui-select id="details-{{ctrl.name}}" multiple tagging tagging-label="{{ctrl.t.newGroup}}" ng-model="ctrl.data.value" group-model on-remove="ctrl.model.updateContact()" on-select="ctrl.model.updateContact()" - theme="select2"> + theme="select2" focus-expression="$parent.$parent.ctrl.focus === ctrl.name"> <ui-select-match placeholder="{{ctrl.meta.readableName}}">{{$item}}</ui-select-match> <ui-select-choices repeat="group in ctrl.availableGroups | filter:$select.search"> {{group}} |