fix updating of link information (quality, ...)

alfred-data
Nils Schneider 2012-06-06 06:15:15 +02:00
parent 7317c5ea52
commit d3db9decad
1 changed files with 4 additions and 0 deletions

View File

@ -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
}
})