diff options
Diffstat (limited to 'templates/detailItems/textarea.html')
-rw-r--r-- | templates/detailItems/textarea.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/detailItems/textarea.html b/templates/detailItems/textarea.html index 2d25fdbb..d3b1c3e8 100644 --- a/templates/detailItems/textarea.html +++ b/templates/detailItems/textarea.html @@ -1,9 +1,9 @@ <label for="details-{{ctrl.name}}-{{ctrl.index}}">{{ctrl.meta.readableName}}</label> <textarea id="details-{{ctrl.name}}-{{ctrl.index}}" name="{{ctrl.name}}" ng-model="ctrl.data.value" rows="3" cols="40" - ng-model-options="{ debounce: 500 }" ng-change="ctrl.model.updateContact()" + 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> |