only request poll for non-passive messages

This commit is contained in:
john30
2015-06-14 11:46:12 +02:00
parent c245c7b1be
commit 3751c11336
+1 -1
View File
@@ -355,8 +355,8 @@ jsPlumb.ready(function() {
if (!cmessages.hasOwnProperty(mname)) {
continue;
}
needUris.push(circuit+'/'+mname);
var message = cmessages[mname];
if (!message.passive) needUris.push(circuit+'/'+mname);
var ichild = document.createElement("div");
ichild.className = "circuitLabel";
ichild.setAttribute('data-id', circuit+'/'+mname);