UI Tabs - strange behaviour on redirected page

UI Tabs - strange behaviour on redirected page


Hi there,
I've implemented UI tabs ( UI v.1.7.1 and jquery 1.3.2) on an error
page with a tabs container. Basically what happens is if a user tries
to navigate to a URL that doesn't exist, it gets redirected to my
error page. Strange thing is, if I'm redirected to the error page when
I type in a non-existant folder URL ,i.e. //www.mydomain.com/wrong-
folder/ then the tabs work. But if I type in a URL pointing to a non-
existant file, i.e. //www.mydomain.com/test/wrong-file.pdf , the text
"Loading..." appears in my first tab and clicking on the other tabs
don't work. Also in the Firebug console I get the following error:
Access to restricted URI denied" code: "1012
path-to-js/jquery.min.js
Line 19
I'm using the normal code for the tabs implementation, using
href="#tabs-1" etc.
Thanks
Ettiene