Skip to content

Commit

Permalink
FLOE-432: fix issue with initialization of demo values not firing cha…
Browse files Browse the repository at this point in the history
…nge event
  • Loading branch information
waharnum committed Nov 12, 2015
1 parent a3c7d2b commit 8bf5347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/src/js/demo.js
Expand Up @@ -24,10 +24,10 @@ Varied#3: colors: ["#f15e4e", "#acdee4", "#73c163", "#ffc74a", "#41beae"]
var dataEntry = that.chartAuthoringInterface.dataEntryPanel.dataEntry;
var dataEntry2 = that.chartAuthoringInterface.dataEntryPanel["dataEntry-1"];

dataEntry.locate("label").val("label 1");
dataEntry.locate("label").val("label 1").trigger("change");
dataEntry.locate("value").val(60).trigger("change");

dataEntry2.locate("label").val("label 2");
dataEntry2.locate("label").val("label 2").trigger("change");
dataEntry2.locate("value").val(40).trigger("change");
};

Expand Down

0 comments on commit 8bf5347

Please sign in to comment.