X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fsenslabmap%2Fstatic%2Fjs%2Fsenslabmap.js;h=f98a128fa055de3672ed6429da45683bbda37334;hb=01df51847534dace0adeaac31377df81d8584aa0;hp=2945e0d8c1122507bd5b1c52934e3a33c47f4089;hpb=af71ff60ff3fbbb5924f78cffb1ba36701a8104c;p=myslice.git diff --git a/plugins/senslabmap/static/js/senslabmap.js b/plugins/senslabmap/static/js/senslabmap.js index 2945e0d8..f98a128f 100644 --- a/plugins/senslabmap/static/js/senslabmap.js +++ b/plugins/senslabmap/static/js/senslabmap.js @@ -22,7 +22,7 @@ }, on_all_new_record: function(node) { - Senslab.normalize(node, this.key); + Senslab.normalize(node); if (node.normalized) { var site = node.site; if ($.inArray(site, this.sites) == -1) { @@ -31,8 +31,10 @@ } this.nodes[site].push(node); } else { - console.warn("node has no site:"); - console.warn(node); +// xxx would need a smarter way to report these only on nodes that deserve it +// these messages are all over the place in a PL setup and tend to hide helpful signal +// console.warn("node has no site:"); +// console.warn(node); } },