diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-03 20:10:43 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-03 20:10:43 +0200 |
commit | 8f08e38df45458579771977768d60d58a68852f1 (patch) | |
tree | 0f9e1477667e1d07d0ab2b46922eb3f7c4639f48 /templates/detailItems/groups.html | |
parent | 2948596bbaa13ec09aa7f8ca27d7a73d327ae5f1 (diff) |
Disabled state for all templates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates/detailItems/groups.html')
-rw-r--r-- | templates/detailItems/groups.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/detailItems/groups.html b/templates/detailItems/groups.html index a698113a..0a666bed 100644 --- a/templates/detailItems/groups.html +++ b/templates/detailItems/groups.html @@ -1,7 +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()" - theme="select2" focus-expression="$parent.$parent.ctrl.focus === ctrl.name"> + theme="select2" focus-expression="$parent.$parent.ctrl.focus === ctrl.name" + ng-disabled="ctrl.addressBook.readOnly"> <ui-select-match placeholder="{{ctrl.meta.readableName}}">{{$item}}</ui-select-match> <ui-select-choices repeat="group in ctrl.availableGroups | filter:$select.search"> {{group}} |