use parent.bindMessage

This commit is contained in:
j 2014-09-23 23:48:59 +02:00
parent 2db57c3c69
commit a266c518b7

View file

@ -389,7 +389,7 @@ appPanel
Ox.Theme(pandora.user.ui.theme);
if (isEmbed) {
pandora.$ui.embedPanel = pandora.ui.embedPanel().display();
Ox.$parent.onMessage({
Ox.$parent.bindMessage({
settheme: function(data) {
if (Ox.contains(pandora.site.themes, data.theme)) {
Ox.Theme(data.theme);