embed player: only pass event name

This commit is contained in:
rolux 2013-02-12 17:22:13 +05:30
parent e49abea38f
commit 24ba371529

View file

@ -84,10 +84,7 @@ Ox.load('UI', {
position: checkRange position: checkRange
} : {})) } : {}))
.bindEvent(function(data, event) { .bindEvent(function(data, event) {
window.postMessage(JSON.stringify({ window.postMessage(JSON.stringify({event: event}), '*');
event: event,
data: data
}), '*');
}) })
); );
Ox.UI.hideLoadingScreen(); Ox.UI.hideLoadingScreen();