commit | cc9049058746a250bb3a5727165e8e2d90a54de7 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Thu Jan 28 20:07:24 2016 -0800 |
committer | Simon Hunt <simon@onlab.us> | Thu Jan 28 20:07:24 2016 -0800 |
tree | 33f20c411a9121422c766381ee5a456d9a891782 | |
parent | eb18f52e3f74878fafb65a3f4fbc0f861a1f7ef1 [diff] |
Fix link.online() to return true only if BOTH underlying unidirectional links are marked as online. Change-Id: I2b66e8a0b6f7a1bba488c82f799219e9c1ab5da3
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 fb98fc2..9376869 100644 --- a/web/gui/src/main/webapp/app/view/topo/topoModel.js +++ b/web/gui/src/main/webapp/app/view/topo/topoModel.js
@@ -202,7 +202,7 @@ var s = lnk.fromSource, t = lnk.fromTarget, both = lnk.source.online && lnk.target.online; - return both && ((s && s.online) || (t && t.online)); + return both && ((s && s.online) && (t && t.online)); }, linkWidth: function () { var s = lnk.fromSource,