This commit is contained in:
rolux 2013-02-24 16:28:09 +05:30
parent e6bc3dcdbb
commit c18220cb4f

View file

@ -43,7 +43,7 @@ Ox.Message = (function() {
@*/ @*/
that.post = function(target, event, data) { that.post = function(target, event, data) {
target = target == Ox.$parent ? window.parent target = target == Ox.$parent ? window.parent
? Ox.isElement(target[0]) ? target[0] : Ox.isElement(target[0]) ? target[0]
: $('#' + target)[0]; : $('#' + target)[0];
target.postMessage(JSON.stringify({ target.postMessage(JSON.stringify({
event: event, event: event,