diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:48:51 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:48:51 -0400 |
commit | 828b3c420cb42f02544b46bfa9208499a4947651 (patch) | |
tree | fe0a69d7a2f04d264a71627c503cb34f6db65bca /tests/unit/tabs | |
parent | 6a00d418bc8346df7124708125056ad4717ce89c (diff) | |
download | jquery-ui-828b3c420cb42f02544b46bfa9208499a4947651.tar.gz jquery-ui-828b3c420cb42f02544b46bfa9208499a4947651.zip |
Tabs: Removed abort method. Fixes #7150 - Tabs: Remove abort method.
Diffstat (limited to 'tests/unit/tabs')
-rw-r--r-- | tests/unit/tabs/tabs_deprecated.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/unit/tabs/tabs_deprecated.js b/tests/unit/tabs/tabs_deprecated.js index 4d6d682f5..bc2caab29 100644 --- a/tests/unit/tabs/tabs_deprecated.js +++ b/tests/unit/tabs/tabs_deprecated.js @@ -240,22 +240,4 @@ test( "remove", function() { equal( element.tabs( "option", "active" ), false ); }); -asyncTest( "abort", function() { - expect( 1 ); - - var element = $( "#tabs2" ).tabs(); - element.one( "tabsbeforeload", function( event, ui ) { - ui.jqXHR.error(function( jqXHR, status ) { - equal( status, "abort", "aborted" ); - start(); - }); - }); - // prevent IE from caching the request, so that it won't resolve before we call abort - element.find( ".ui-tabs-nav li:eq(2) .ui-tabs-anchor" ).attr( "href", function( href ) { - return href + "?" + (+ new Date()); - }); - element.tabs( "option", "active", 2 ); - element.tabs( "abort" ); -}); - }( jQuery ) ); |