diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-03-29 15:40:28 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-03-29 15:40:28 -0400 |
commit | fa13c4a60218cba40f61b66b92d9a520051783d1 (patch) | |
tree | 899837798b35ef4584600eeb8de0b689aaaf3f0b /demos/tabs | |
parent | cd29170ae02b4a7eb290848f8523244c621e2893 (diff) | |
parent | e9ae04a394e63e5b012f28fc40a04e71c4f935d9 (diff) | |
download | jquery-ui-fa13c4a60218cba40f61b66b92d9a520051783d1.tar.gz jquery-ui-fa13c4a60218cba40f61b66b92d9a520051783d1.zip |
Merge branch 'tabs_1.9' of https://github.com/petersendidit/jquery-ui into petersendidit-tabs
Diffstat (limited to 'demos/tabs')
-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." ); } |