Message: Access is denied - mootools core

11 views
Skip to first unread message

mmjaeger

unread,
Dec 1, 2009, 12:08:52 AM12/1/09
to MooTools Users
Hello
I've a button with some click event - works fine in Firefox and Safari
- However, IE 8 returns the following:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0)
Timestamp: Tue, 1 Dec 2009 05:02:35 UTC


Message: Access is denied.

Line: 339
Char: 132
Code: 0
URI: http://......./mootools-1.2.4-core.js

I'm kind of lost - where do I start debugging - any ideas what could
cause this?

Thank you in advance for your input.

mmjaeger

unread,
Dec 1, 2009, 12:20:16 AM12/1/09
to MooTools Users
it seems that the following code is causing the error:

// request cover
if (!$defined(this.coverRequest)) {
//this.coverRequest = this.requestCover();
} else { // restart request
//this.coverRequest.startTimer();
}

the request call looks like this:

// REQUEST
getStream: function() {
if (this.options.spinner) var spinner = new Spinner
(this.element.getParent(), { message: 'Loading...' });
return new Request.JSON({
method: 'post',
url: this.options.path,
initialDelay: 0,
delay: 15000,
limit: 60000,
noCache: true,
onRequest: function() {
if (this.options.spinner) spinner.show();
}.bind(this),
onSuccess: function(responseJSON, responseText) {
this.element.empty();
if ($chk(responseJSON['current'])) Elements.from(responseJSON
['current']).inject(this.element);
if ($chk(responseJSON['history'])) Elements.from(responseJSON
['history']).inject(this.element);

this.fireEvent('onCallback', this);
}.bind(this),
onComplete: function() {
if (this.options.spinner) spinner.hide();
}.bind(this)
}).startTimer({
'host': this.options.host,
'port': this.options.port,
'cimg': this.options.cover,
'aimg': this.options.altCover,
'size': this.options.size,
'curr': this.options.current,
'type': this.options.type,
'hist': this.options.history ? 'show' : 'hide'
});
Reply all
Reply to author
Forward
0 new messages