Closed austinpray closed 9 years ago
Currently XDomain just looks for console.warn
and if it's not there, it uses alert
, so as a workaround, you could just define a warn
function window.console = { warn: function(){} };
in IE7/8
Will leave this as a feature request for warning hooks
Ah I see. I will go ahead and give that workaround a shot.
And yes warning hooks would be very useful so I can handle the errors in my standard "flash" dialogs.
:beers: thanks!
On ie7/8 it fires an alert error message. Can there be an option to set
xdomain.alert
to show these messages or not? I would rather handle the message myself.