add id option

This commit is contained in:
rolux 2013-02-12 17:42:15 +05:30
parent 4b440815ed
commit 12a9500043

View file

@ -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
}), '*');
}
})
);