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: |
Description
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:
anchor.href
"http://127.0.0.1:8080/main/workbench/index.html#fakepanel"
anchor.cloneNode(false).href
Change History (2)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.
becauseof cloneNode bug in IE7
a.html
b/b.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;