diff options
author | David Petersen <public@petersendidit.com> | 2011-03-26 22:14:17 -0400 |
---|---|---|
committer | David Petersen <public@petersendidit.com> | 2011-03-27 14:56:20 -0400 |
commit | 1e2d3145fff7cdeca61e62f95eb1e30c37e664c5 (patch) | |
tree | 2ffd09f0bfb1a18b01b89c08123ad8d84a0e89cd /demos | |
parent | f6e7b6c9f6b49e4c7ab648bd617fe724ce0fb417 (diff) | |
download | jquery-ui-1e2d3145fff7cdeca61e62f95eb1e30c37e664c5.tar.gz jquery-ui-1e2d3145fff7cdeca61e62f95eb1e30c37e664c5.zip |
Tabs: Deprecate url method; use aria-controls instead of title to specify panels. Fixes #7132 Tabs: Deprecate url method; use aria-controls instead of title to specify panels
Diffstat (limited to 'demos')
-rw-r--r-- | demos/tabs/ajax.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/tabs/ajax.html b/demos/tabs/ajax.html index c62625791..284de57f9 100644 --- a/demos/tabs/ajax.html +++ b/demos/tabs/ajax.html @@ -14,7 +14,8 @@ $( "#tabs" ).tabs({ ajaxOptions: { error: function( xhr, status, index, anchor ) { - $( anchor.hash ).html( + var selector = $( anchor ).attr( "aria-controls" ); + $( selector ).html( "Couldn't load this tab. We'll try to fix this as soon as possible. " + "If this wouldn't be a demo." ); } |