commit | 247ab15c869da6f0b44b6064ba77fd4c45c75051 | [log] [tgz] |
---|---|---|
author | Steven Burrows <sburrows@villa-technologies.com> | Wed Mar 29 13:55:54 2017 +0100 |
committer | Simon Hunt <simon@onlab.us> | Thu Mar 30 05:27:51 2017 +0000 |
tree | 5b3150f99b81a9321f400328e14020113ab1769b | |
parent | 9f7a2d7e9ce7b925ecda7f1302b9f384dea597e0 [diff] [blame] |
Topo2: Updated selection model Change-Id: Ib5c953b1a79fe516c1407971b8134e1425958215
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2Force.js b/web/gui/src/main/webapp/app/view/topo2/topo2Force.js index 89fbae4..55b5baa 100644 --- a/web/gui/src/main/webapp/app/view/topo2/topo2Force.js +++ b/web/gui/src/main/webapp/app/view/topo2/topo2Force.js
@@ -206,6 +206,10 @@ t2tbs = _t2tbs_; var onZoom = function () { + if (!t2rs.isLoadComplete()) { + return; + } + var nodes = [].concat( t2rs.regionNodes(), t2rs.regionLinks()