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/app/app.html b/web/gui/src/main/webapp/app/view/app/app.html
index 8f80a07..0db8d9b 100644
--- a/web/gui/src/main/webapp/app/view/app/app.html
+++ b/web/gui/src/main/webapp/app/view/app/app.html
@@ -51,7 +51,7 @@
</div>
<div class="table-body">
- <table>
+ <table onos-flash-changes id-prop="id">
<tr ng-if="!tableData.length" class="no-data">
<td colspan="5">
No Applications found
@@ -61,7 +61,7 @@
<tr ng-repeat="app in tableData track by $index"
ng-click="selectCallback($event, app)"
ng-class="{selected: app.id === selId}"
- onos-flash-changes row="{{app}}" row-id="id">
+ ng-repeat-complete row-id="{{app.id}}">
<td class="table-icon">
<div icon icon-id="{{app._iconid_state}}"></div>
</td>