From d3db9decad4421004b704de37f4d100351f2c028 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Wed, 6 Jun 2012 06:15:15 +0200 Subject: [PATCH] fix updating of link information (quality, ...) --- html/force.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/html/force.js b/html/force.js index 047fa6c..60d2332 100644 --- a/html/force.js +++ b/html/force.js @@ -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 } })