diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:47:51 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:47:51 -0400 |
commit | 6a00d418bc8346df7124708125056ad4717ce89c (patch) | |
tree | 5e46dea2a9dbc35e54ab3dbcb4b514701dfdece2 /ui | |
parent | a9053d93008e203391206cb743e873064fc8198b (diff) | |
download | jquery-ui-6a00d418bc8346df7124708125056ad4717ce89c.tar.gz jquery-ui-6a00d418bc8346df7124708125056ad4717ce89c.zip |
Tabs: Removed spinner option. Fixes #7151 - Tabs: Remove spinner option.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.tabs.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 09946072e..45ac8e81c 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -863,32 +863,6 @@ if ( $.uiBackCompat !== false ) { } }); - // spinner - $.widget( "ui.tabs", $.ui.tabs, { - options: { - spinner: "<em>Loading…</em>" - }, - _create: function() { - this._super(); - this._on({ - tabsbeforeload: function( event, ui ) { - // Don't react to nested tabs or tabs that don't use a spinner - if ( event.target !== this.element[ 0 ] || - !this.options.spinner ) { - return; - } - - var span = ui.tab.find( "span" ), - html = span.html(); - span.html( this.options.spinner ); - ui.jqXHR.complete(function() { - span.html( html ); - }); - } - }); - } - }); - // add/remove methods and events $.widget( "ui.tabs", $.ui.tabs, { options: { |