summaryrefslogtreecommitdiffstats
path: root/templates/detailItems/textarea.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/detailItems/textarea.html')
-rw-r--r--templates/detailItems/textarea.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/detailItems/textarea.html b/templates/detailItems/textarea.html
index 1232fad9..d3b1c3e8 100644
--- a/templates/detailItems/textarea.html
+++ b/templates/detailItems/textarea.html
@@ -4,6 +4,6 @@
ng-model-options="{ debounce: 500 }" ng-change="ctrl.updateContact()"
placeholder="{{ctrl.meta.readableName}}"
focus-expression="$parent.ctrl.focus === ctrl.name"
- ng-disabled="ctrl.model.addressBook.readOnly">
+ ng-disabled="ctrl.contact.readOnly">
</textarea>
-<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}" ng-if="!ctrl.model.addressBook.readOnly"></button>
+<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}" ng-if="!ctrl.contact.readOnly"></button>