git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn off senslabmap warnings
[myslice.git]
/
plugins
/
senslabmap
/
static
/
js
/
senslabmap.js
diff --git
a/plugins/senslabmap/static/js/senslabmap.js
b/plugins/senslabmap/static/js/senslabmap.js
index
2945e0d
..
f98a128
100644
(file)
--- a/
plugins/senslabmap/static/js/senslabmap.js
+++ b/
plugins/senslabmap/static/js/senslabmap.js
@@
-22,7
+22,7
@@
},
on_all_new_record: function(node) {
},
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) {
if (node.normalized) {
var site = node.site;
if ($.inArray(site, this.sites) == -1) {
@@
-31,8
+31,10
@@
}
this.nodes[site].push(node);
} else {
}
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);
}
},
}
},