fix updating of link information (quality, ...)
This commit is contained in:
parent
7317c5ea52
commit
d3db9decad
|
@ -205,6 +205,10 @@ function reload() {
|
|||
var n
|
||||
force.links().forEach(function(x) {if (x.id == d.id) n = x})
|
||||
if (n) {
|
||||
for (var key in d)
|
||||
if (d.hasOwnProperty(key))
|
||||
n[key] = d[key]
|
||||
|
||||
json.links[i] = n
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue