Revision 3f275068

View differences:

Libs/pstreamer
1
Subproject commit 5a3287bd24acf3e3a5760e5aa3949cedf47c7956
1
Subproject commit fe40d6093d90f58749cf848f00a8262d8e278646
Public/assets/psng.js
47 47
	for (el in chs) {
48 48
		var node = document.createElement("LI");
49 49
		node.className="list-group-item btn btn-default";
50
		var textnode = document.createTextNode(chs[el].name);
51
		node.appendChild(textnode);   
52
		list.appendChild(node);   
53
		node.onclick = function(){request_channel(chs[el]);}
50
		var textnode = document.createTextNode(chs[el].port);
51
		node.appendChild(textnode);
52
		list.appendChild(node);
53
		(function (ch) {
54
		node.onclick = function(e){request_channel(ch);};
55
		})(chs[el]);
54 56
	}
55 57
}
56 58

  

Also available in: Unified diff