summaryrefslogtreecommitdiffstats
path: root/templates/detailItems/groups.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/detailItems/groups.html')
-rw-r--r--templates/detailItems/groups.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/detailItems/groups.html b/templates/detailItems/groups.html
index 9084a7f5..8da05fc5 100644
--- a/templates/detailItems/groups.html
+++ b/templates/detailItems/groups.html
@@ -1,8 +1,8 @@
<label ng-if="ctrl.availableOptions.length === 0" for="details-{{ctrl.name}}-{{ctrl.index}}">{{ctrl.meta.readableName}}</label>
<ui-select id="details-{{ctrl.name}}-{{ctrl.index}}" multiple tagging tagging-label="{{ctrl.t.newGroup}}" ng-model="ctrl.data.value"
- on-remove="ctrl.model.updateContact()" on-select="ctrl.model.updateContact()"
+ on-remove="ctrl.updateContact()" on-select="ctrl.updateContact()"
theme="select2" focus-expression="$parent.$parent.ctrl.focus === ctrl.name"
- ng-disabled="ctrl.model.addressBook.readOnly">
+ ng-disabled="ctrl.contact.readOnly">
<ui-select-match placeholder="{{ctrl.meta.readableName}}">{{$item}}</ui-select-match>
<ui-select-choices repeat="group in ctrl.availableGroups | filter:$select.search">
{{group}}