add id option
This commit is contained in:
parent
4b440815ed
commit
12a9500043
1 changed files with 4 additions and 1 deletions
|
@ -88,7 +88,10 @@ Ox.load('UI', {
|
||||||
} : {}))
|
} : {}))
|
||||||
.bindEvent(function(data, event) {
|
.bindEvent(function(data, event) {
|
||||||
if (window.parent) {
|
if (window.parent) {
|
||||||
window.parent.postMessage(JSON.stringify({event: event}), '*');
|
window.parent.postMessage(JSON.stringify({
|
||||||
|
event: event,
|
||||||
|
id: options.id
|
||||||
|
}), '*');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue