commit | a5487ad31434553400f3971cc6f2a2aa8acb0f47 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Thu Jun 16 13:10:41 2016 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Mon Jun 20 16:31:44 2016 -0700 |
tree | f76f1a239b5c1cc364ff64544817722546158e40 | |
parent | 8f907ccbc8f147632bf0692f515d4efa7989a67c [diff] [blame] |
ONOS-4359: continued work on theming UI - topo view: fixed device/host badge rendering - added "mojoColor" mock server scenario Change-Id: I5d2da657580503abd8015875d45d2e715d44033a (cherry picked from commit 44c440f)
diff --git a/web/gui/src/main/webapp/app/view/topo/topoModel.js b/web/gui/src/main/webapp/app/view/topo/topoModel.js index d104449..7679fe1 100644 --- a/web/gui/src/main/webapp/app/view/topo/topoModel.js +++ b/web/gui/src/main/webapp/app/view/topo/topoModel.js
@@ -69,7 +69,7 @@ } // else if we have [x,y] cached in meta data, use that... - if (x && y) { + if (x !== undefined && y !== undefined) { node.fixed = true; node.px = node.x = x; node.py = node.y = y;