瀏覽代碼

adding the table id

Aaron Baker 8 年之前
父節點
當前提交
9a1e587427
共有 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>
     <tbody>
         <tr ng-repeat="item in table.getItems()" ng-click="table.clickItem(item, $event)"
-            ng-attr-id="{{'index' + item.email }}">
+            ng-attr-id="{{'index' + $index }}">
             <td ng-repeat="column in table.getVisibleColumns()"
                 ng-bind="table.getValue(item, column.valueExpression)"></td>
             <td></td>