Skip to content
Browse files

fixed a bug that would cause graphercomponents to crash occasionally

  • Loading branch information...
1 parent 2696df6 commit 24cc7977788575c643bc17a3ee63b1bc8da2d3c8 @jloutsenhizer jloutsenhizer committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 fluxtream-web/src/main/webapp/js/core/widgetComponents/GrapherComponent.js
View
2 fluxtream-web/src/main/webapp/js/core/widgetComponents/GrapherComponent.js
@@ -113,7 +113,7 @@ define(["core/grapher/BTCore"],function(BTCore){
var localDisplay = false;
for (var i = 0; i < sources.length; i++) {
- if (sources[idx]["name"] == deviceName) {
+ if (sources[i]["name"] == deviceName) {
var channels = sources[i]["channels"];
for (var j = 0; j < channels.length; j++) {
if (channels[j]["name"] == subChannelName) {

0 comments on commit 24cc797

Please sign in to comment.
Something went wrong with that request. Please try again.