Oops! Fix updateLink() function in topology view.
(also add linkupdate scenario).
Change-Id: Ic0f6753745e43c5fc76a6cb180a0c8a66178c657
diff --git a/web/gui/src/main/webapp/app/view/topo/topoForce.js b/web/gui/src/main/webapp/app/view/topo/topoForce.js
index 175ee79..3c68f3e 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoForce.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoForce.js
@@ -230,7 +230,7 @@
d = result.ldata;
if (bad) {
- //logicError(bad + ': ' + link.id);
+ $log.debug(bad + ': ' + link.id);
return;
}
@@ -255,10 +255,10 @@
var result = tms.findLink(data, 'update'),
bad = result.badLogic;
if (bad) {
- //logicError(bad + ': ' + link.id);
+ $log.debug(bad + ': ' + link.id);
return;
}
- result.updateWith(link);
+ result.updateWith(data);
}
function removeLink(data) {