diff --git a/showcase/projects/bridge/demo.html b/showcase/projects/bridge/demo.html
index 0ad2720c..a653869c 100644
--- a/showcase/projects/bridge/demo.html
+++ b/showcase/projects/bridge/demo.html
@@ -24,6 +24,7 @@
// called from agent
function addToDataset(item) {
+ console.log(item)
data.add(item);
}
// called from agent
diff --git a/showcase/projects/bridge/js/timelineAgent.js b/showcase/projects/bridge/js/timelineAgent.js
index 3a7d5da9..dcef4927 100644
--- a/showcase/projects/bridge/js/timelineAgent.js
+++ b/showcase/projects/bridge/js/timelineAgent.js
@@ -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) {