mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: Remove test for Ajax URLs containing hashes
This hasn't been a problem for a long time and jQuery no longer removes the hash in 3.0.0, so the test started to fail even though the actual code is working just fine. Ref #3627 Ref jquery/jquery#1732
This commit is contained in:
parent
71b93ed247
commit
9d807ba109
@ -647,18 +647,6 @@ QUnit.test( "keyboard support - CTRL+UP, ALT+PAGE_DOWN, ALT+PAGE_UP", function(
|
||||
setTimeout( step1 );
|
||||
} );
|
||||
|
||||
QUnit.test( "#3627 - Ajax tab with url containing a fragment identifier fails to load", function( assert ) {
|
||||
assert.expect( 1 );
|
||||
|
||||
$( "#tabs2" ).tabs( {
|
||||
active: 2,
|
||||
beforeLoad: function( event, ui ) {
|
||||
event.preventDefault();
|
||||
assert.ok( /test.html$/.test( ui.ajaxSettings.url ), "should ignore fragment identifier" );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
|
||||
QUnit.test( "#4033 - IE expands hash to full url and misinterprets tab as ajax", function( assert ) {
|
||||
assert.expect( 2 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user