commit | 4766dfbae4b8f5b6bda7b525fb14a42a72a83221 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Tue Jun 14 17:16:22 2016 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Mon Jun 20 16:31:43 2016 -0700 |
tree | 531e178051f65ba137f0da2746749c5011ad3f36 | |
parent | f44d7267281eb1cef182a36b132296ed418c8557 [diff] [blame] |
ONOS-4359: continued work on theming UI - topo view: fixed node and link selection highlighting. Change-Id: I48d4ac06989dd98b0b2182fbd45b76eb2ca737b7 (cherry picked from commit 728dce0)
diff --git a/web/gui/src/main/webapp/app/view/topo/topoSelect.js b/web/gui/src/main/webapp/app/view/topo/topoSelect.js index a27a6f5..8b554fb 100644 --- a/web/gui/src/main/webapp/app/view/topo/topoSelect.js +++ b/web/gui/src/main/webapp/app/view/topo/topoSelect.js
@@ -127,7 +127,9 @@ selectOrder.push(obj.id); n.classed('selected', true); - api.updateDeviceColors(obj); + if (n.classed('device')) { + api.updateDeviceColors(obj); + } updateDetail(); }