jquery / jqueryui.com

jQuery UI web site content
https://jqueryui.com
Other
132 stars 113 forks source link

tabs.js ajax issue #175

Closed NotIT closed 5 years ago

NotIT commented 6 years ago

Had a strange issue that whenever using the tabs.js feature on a page that got called with url parameters, the page would recursively make ajax calls over and over again to the same page. So, domain.com/url? would break, without the ? works fine. Tracked it down to the _ajaxSettings function but couldn't fix it. A temporary fix was made by modifying the _isLocal function regex from /#.$/ to /(#|\?).$/

scottgonzalez commented 5 years ago

Query strings are part of what defines the page. You should not be modifying _isLocal. However, this is the bug tracker for the web site only, not for jQuery UI itself.