Since JQueryUI 1.9 I think, Tabs behave as if my content is remote.
I'm using a <base> tag in my HTML code which points to the root of the website, while the page I'm using tabs on is within a subfolder (say http://website/admin/)
I'm referring to tabs with a simple href="#tab1" in my list items and provide the proper <divs>.
My problem seems to come from the _isLocal method which checks if the anchorURL and locationURL are the same. Technically, JQueryUI is completely right since providing the <base> tag makes my link point to http://mysite/#tab1 and not http://mysite/admin/#tab1
However, I think it would be better if JQueryUI could handle such case by considering I'm referring to my current page and not a remote one. It doesn't seem to go against HTML standards to me since it's not really an anchor.
Thus, the _isLocal function could be changed to only check if the Url starts with a # symbol (maybe something else would break in this case?). Another possibility could be to check if divs with the same name are present within the tab's container div.
What do you think?