Opened 8 years ago

Closed 8 years ago

Last modified 3 weeks ago

#3627 closed bug (fixed)

ajax tabs fail in internet explorer when url has a fragment

Reported by: mtk Owned by: klaus.hartl
Priority: major Milestone: 1.7
Component: ui.tabs Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:

Description

<html> <head>

<script type="text/javascript" src="jquery-1.2.6.min.js"></script> <link rel="stylesheet" href="flora.all.css" type="text/css" media="screen"> <script type="text/javascript" src="jquery.ui.all.packed.js"></script> <script>

$(document).ready(function(){

debugger; var obj=$("#example > ul"); obj.tabs({ fxAutoHeight: true });

});

</script>

</head> <body> <div id="example" class="flora">

<ul>

<li><a title="status1" href="status.htm" ><span>Status</span></a></li> <li><a title="status2" href="status.htm" ><span>Two</span></a></li> <li><a title="setup1" href="setup.htm" ><span>Setup</span></a></li>

</ul>

</div> </body> </html>

if I try to use url: index.htm#setup1 the ajax url is not loaded. It works perfectly with firefox.. but it fails in IE7

Change History (6)

comment:1 Changed 8 years ago by jzaefferer

  • Component changed from ui.core to ui.tabs

comment:2 Changed 8 years ago by scottgonzalez

  • Milestone changed from TBD to 1.6
  • Priority changed from minor to major

comment:3 Changed 8 years ago by klaus.hartl

  • Owner set to klaus.hartl
  • Status changed from new to assigned

comment:4 Changed 8 years ago by klaus.hartl

fails in Firefox as well

comment:5 Changed 8 years ago by klaus.hartl

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 3 weeks ago by scottgonzalez

In 9d807ba1:

Tabs: Remove test for Ajax URLs containing hashes

This hasn't been a problem for a long time and jQuery no longer removes
the hash in 3.0.0, so the test started to fail even though the actual
code is working just fine.

Ref #3627
Ref jquery/jquery#1732

Note: See TracTickets for help on using tickets.