greenSkin
on Jul 3. 2008. 1:54 pm
I get the error 'Access to restricted URI denied" code: "1012' in Firebug when I try to do a call using jQuery's ajax function.
Staff
Ilija Studen
on Jul 3. 2008. 2:36 pm
This happens with your custom calls or with JavaScript code that ships with activeCollab?
activeCollab Team Member
greenSkin
on Jul 3. 2008. 2:43 pm
Sorry, this is with custom calls made with the activeCollab API. I have successfully made calls using php and xml but the javascript calls just aren't working.
Staff
Ilija Studen
on Jul 3. 2008. 2:46 pm
JavaScript has a restriction that it can make calls only to the domain where script originated from. Read more about these restrictions and why there are in place in
Same origin policy Wikipedia article.
You should check online jQuery resources to see if it is possible to make cross domain calls with jQuery and, if possible, how. It is not something that we have built into activeCollab.
activeCollab Team Member
greenSkin
on Jul 3. 2008. 2:48 pm
Ok, thanks for the quick reply.