aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tabs/ajax.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/tabs/ajax.html')
-rw-r--r--demos/tabs/ajax.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/tabs/ajax.html b/demos/tabs/ajax.html
index ba766dd29..7a486fc96 100644
--- a/demos/tabs/ajax.html
+++ b/demos/tabs/ajax.html
@@ -13,7 +13,7 @@
$(function() {
$( "#tabs" ).tabs({
beforeLoad: function( event, ui ) {
- ui.jqXHR.error(function() {
+ ui.jqXHR.fail(function() {
ui.panel.html(
"Couldn't load this tab. We'll try to fix this as soon as possible. " +
"If this wouldn't be a demo." );