Opened 9 years ago

Closed 9 years ago

#10296 closed bug (wontfix)

jquery tabs "isLocal" returns not correct

Reported by: momofiona Owned by:
Priority: minor Milestone: none
Component: ui.tabs Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:


function isLocal( anchor ) {

support: IE7 IE7 doesn't normalize the href property when set via script (#9317) anchor = anchor.cloneNode( false ); return anchor.hash.length > 1 &&

decodeURIComponent( anchor.href.replace( rhash, "" ) ) ===

decodeURIComponent( location.href.replace( rhash, "" ) );


<a href="#fakepanel"> should return true,but in IE7,it return false:





Change History (2)

comment:1 Changed 9 years ago by momofiona

becauseof cloneNode bug in IE7


<doctype html> <html> <body> <iframe src="b/b.html"></iframe> </body> </html>


<doctype html> <html> <body> <a href="#">#</a> <script>alert(document.links[0].href);alert(document.links[0].cloneNode().href);</script> </body> </html>

the result should be 'http://xxxxxx/b/b.html#' ,'http://xxxxxx/b/b.html#' the same; but in IE7 it's 'http://xxxxxx/b/b.html#' ,'http://xxxxxx/a.html#' the different;

comment:2 Changed 9 years ago by Scott González

Resolution: wontfix
Status: newclosed

We no longer support IE7. We've left the workaround in place for 1.11.x, but they will not be touched. They will be removed in 1.12.x.

Note: See TracTickets for help on using tickets.