ONOS-2325 - GUI -- Rewrite / bug fix for table row flashing. Multi-rows act like a unit and row flashes when a single new element is added.
Change-Id: I7be876281c0c86b927366223fc87372ea21034ec
diff --git a/web/gui/src/main/webapp/app/view/device/device.html b/web/gui/src/main/webapp/app/view/device/device.html
index c6f12b2..609423d 100644
--- a/web/gui/src/main/webapp/app/view/device/device.html
+++ b/web/gui/src/main/webapp/app/view/device/device.html
@@ -45,7 +45,7 @@
</div>
<div class="table-body">
- <table>
+ <table onos-flash-changes id-prop="id">
<tr ng-if="!tableData.length" class="no-data">
<td colspan="9">
No Devices found
@@ -55,7 +55,7 @@
<tr ng-repeat="dev in tableData track by $index"
ng-click="selectCallback($event, dev)"
ng-class="{selected: dev.id === selId}"
- onos-flash-changes row="{{dev}}" row-id="id">
+ ng-repeat-complete row-id="{{dev.id}}">
<td class="table-icon">
<div icon icon-id="{{dev._iconid_available}}"></div>
</td>