diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/contactDetails.html | 2 | ||||
-rw-r--r-- | templates/propertyGroup.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/contactDetails.html b/templates/contactDetails.html index d3fb8bc1..58a2f2d2 100644 --- a/templates/contactDetails.html +++ b/templates/contactDetails.html @@ -42,7 +42,7 @@ </div> </header> <section> - <propertyGroup ng-repeat="prop in ctrl.contact.props | toArray | orderDetailItems:'$key'" contact="ctrl" prop="prop" name="prop.$key"></propertyGroup> + <propertyGroup ng-repeat="prop in ctrl.contact.props | toArray | orderDetailItems:'$key'" model="ctrl.contact" data="prop" name="prop.$key"></propertyGroup> <div class="select-addressbook" ng-if="ctrl.addressBooks.length > 1 && !ctrl.addressBook.readOnly"> <label for="details-addressbook">{{ctrl.t.addressBook}}</label> diff --git a/templates/propertyGroup.html b/templates/propertyGroup.html index 1d7ad3ef..99b4a818 100644 --- a/templates/propertyGroup.html +++ b/templates/propertyGroup.html @@ -1,3 +1,3 @@ <h3 class="propertyGroup__title" ng-class="ctrl.getIconClass()" style="display: inline-block; background-size: 16px 16px; background-position-x: 0; padding-left: 20px;">{{ctrl.getReadableName()}}</h3> -<detailsItem ng-repeat="property in ctrl.properties" name="ctrl.name" data="property" model="ctrl" index="$index" +<detailsItem ng-repeat="property in ctrl.properties" name="ctrl.name" data="property" model="ctrl.contact" index="$index" class="details-item-{{ctrl.name}}" ng-class="{ 'failed': ctrl.contact.failedProps.indexOf(ctrl.name) !== -1 }"></detailsItem> |