turn off senslabmap warnings
[myslice.git] / plugins / senslabmap / static / js / senslabmap.js
index 2945e0d..f98a128 100644 (file)
@@ -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) {
         }
         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);
       }
     },