mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker tests: Allow IE7 to return an absolute URL in the .attr('src') call
(cherry picked from commit 6d7a61478f
)
This commit is contained in:
parent
3f055d4a58
commit
e5e286ef4e
@ -166,7 +166,7 @@ asyncTest( "invocation", function() {
|
||||
ok( button.length === 0, "Image button - button absent" );
|
||||
image = inp.siblings( "img" );
|
||||
ok( image.length === 1, "Image button - image present" );
|
||||
equal( image.attr( "src" ), "images/calendar.gif", "Image button - image source" );
|
||||
ok( /images\/calendar\.gif$/.test( image.attr( "src" ) ), "Image button - image source" );
|
||||
equal( image.attr( "title" ), "Cal", "Image button - image text" );
|
||||
|
||||
TestHelpers.datepicker.onFocus( inp, function() {
|
||||
|
Loading…
Reference in New Issue
Block a user