fix updating of link information (quality, ...)
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 New Issue