소스 검색

adding the table id

Aaron Baker 8 년 전
부모
커밋
2fff8e2752
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/angular/src/ux/table.directive.html

+ 1 - 1
src/main/angular/src/ux/table.directive.html

@@ -31,7 +31,7 @@
     </thead>
     </thead>
     <tbody>
     <tbody>
         <tr ng-repeat="item in table.getItems()" ng-click="table.clickItem(item, $event)"
         <tr ng-repeat="item in table.getItems()" ng-click="table.clickItem(item, $event)"
-            ng-attr-id="{{'index' + $ctrl.person.displayNames[0] }}">
+            ng-attr-id="{{'index' + item.email }}">
             <td ng-repeat="column in table.getVisibleColumns()"
             <td ng-repeat="column in table.getVisibleColumns()"
                 ng-bind="table.getValue(item, column.valueExpression)"></td>
                 ng-bind="table.getValue(item, column.valueExpression)"></td>
             <td></td>
             <td></td>