Browse Source

fixed bug

gh-pages
Alex de Mulder 9 years ago
parent
commit
3ccef03ac7
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      showcase/projects/bridge/demo.html
  2. +1
    -1
      showcase/projects/bridge/js/timelineAgent.js

+ 1
- 0
showcase/projects/bridge/demo.html View File

@ -24,6 +24,7 @@
// called from agent
function addToDataset(item) {
console.log(item)
data.add(item);
}
// called from agent

+ 1
- 1
showcase/projects/bridge/js/timelineAgent.js View File

@ -38,7 +38,7 @@ timelineAgent.prototype.connectToProxy = function() {
};
timelineAgent.prototype.rpcFunctions.addTimelineEvent = function(params,sender) {
addToDataset(params.item);
addToDataset(params);
};
timelineAgent.prototype.rpcFunctions.resetTimelineEvents = function(params,sender) {

Loading…
Cancel
Save