From 12a9500043ed73c2eb3ca446e7242bf265550891 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 12 Feb 2013 17:42:15 +0530 Subject: [PATCH] add id option --- static/js/embed/pandora.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 0c7256c3..0bb83172 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -88,7 +88,10 @@ Ox.load('UI', { } : {})) .bindEvent(function(data, event) { if (window.parent) { - window.parent.postMessage(JSON.stringify({event: event}), '*'); + window.parent.postMessage(JSON.stringify({ + event: event, + id: options.id + }), '*'); } }) );