diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:31:25 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:31:25 +0100 |
commit | e93993c54fd87130061a3ae1832ccb032d20ccfb (patch) | |
tree | 64e0962ceb8f99d999d8253d3f97bed463f40ab9 /ui/jquery.ui.tabs.js | |
parent | bfadd5c5a26893bef76435f0ebf278db9113dc6b (diff) | |
download | jquery-ui-e93993c54fd87130061a3ae1832ccb032d20ccfb.tar.gz jquery-ui-e93993c54fd87130061a3ae1832ccb032d20ccfb.zip |
Update data naming for Tabs. Partial fix for #7810
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r-- | ui/jquery.ui.tabs.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 513aa2613..eca1a5c1b 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -257,7 +257,7 @@ $.widget( "ui.tabs", { return $( "<div></div>" ) .attr( "id", id ) .addClass( "ui-tabs-panel ui-widget-content ui-corner-bottom" ) - .data( "destroy.tabs", true ); + .data( "ui-tabs-destroy", true ); }, _setupDisabled: function( disabled ) { @@ -457,7 +457,7 @@ $.widget( "ui.tabs", { .removeData( "load.tabs" ); this.lis.unbind( ".tabs" ).add( this.panels ).each(function() { - if ( $.data( this, "destroy.tabs" ) ) { + if ( $.data( this, "ui-tabs-destroy" ) ) { $( this ).remove(); } else { $( this ).removeClass([ @@ -755,7 +755,7 @@ if ( $.uiBackCompat !== false ) { url.replace( "#", "" ) : this._tabId( li.find( "a" )[ 0 ] ); - li.addClass( "ui-state-default ui-corner-top" ).data( "destroy.tabs", true ); + li.addClass( "ui-state-default ui-corner-top" ).data( "ui-tabs-destroy", true ); li.find( "a" ).attr( "aria-controls", id ); var doInsertAfter = index >= this.lis.length; @@ -855,7 +855,7 @@ if ( $.uiBackCompat !== false ) { return $( this.options.panelTemplate ) .attr( "id", id ) .addClass( "ui-tabs-panel ui-widget-content ui-corner-bottom" ) - .data( "destroy.tabs", true ); + .data( "ui-tabs-destroy", true ); } }); |