aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tabs.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-10-21 17:50:13 -0400
committerScott González <scott.gonzalez@gmail.com>2012-10-21 18:23:32 -0400
commiteb4178f81910ec691f0bfe93d6002a76854bdde5 (patch)
tree2fb01cff3d136120be3a4ffd8fd332f43d187c74 /ui/jquery.ui.tabs.js
parent8b76684a92d7340175284bb369426f0164673b0a (diff)
downloadjquery-ui-eb4178f81910ec691f0bfe93d6002a76854bdde5.tar.gz
jquery-ui-eb4178f81910ec691f0bfe93d6002a76854bdde5.zip
Fixed some jshint errors.
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r--ui/jquery.ui.tabs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js
index 0d7f85fbc..05456374d 100644
--- a/ui/jquery.ui.tabs.js
+++ b/ui/jquery.ui.tabs.js
@@ -895,16 +895,16 @@ if ( $.uiBackCompat !== false ) {
_ajaxSettings: function( anchor, event, ui ) {
var ajaxOptions = this.options.ajaxOptions;
return $.extend( {}, ajaxOptions, {
- error: function( xhr, s, e ) {
+ error: function( xhr, status ) {
try {
// Passing index avoid a race condition when this method is
// called after the user has selected another tab.
// Pass the anchor that initiated this request allows
// loadError to manipulate the tab content panel via $(a.hash)
ajaxOptions.error(
- xhr, s, ui.tab.closest( "li" ).index(), ui.tab[ 0 ] );
+ xhr, status, ui.tab.closest( "li" ).index(), ui.tab[ 0 ] );
}
- catch ( e ) {}
+ catch ( error ) {}
}
}, this._superApply( arguments ) );
},