diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-07-13 15:52:32 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-07-13 15:52:32 -0400 |
commit | b073cda1a5939e79bba1e27df77b7f77d4b29abf (patch) | |
tree | a6133cc2e505947439a101082f6f26d5fb811cca /tests/unit/dialog/dialog_tickets.js | |
parent | 5eb1aeec4ebba7f1366f355331664098e42dfe49 (diff) | |
download | jquery-ui-b073cda1a5939e79bba1e27df77b7f77d4b29abf.tar.gz jquery-ui-b073cda1a5939e79bba1e27df77b7f77d4b29abf.zip |
Dialog tests: Fixed calls to $.contains() that were passing jQuery objects instead of elements.
Diffstat (limited to 'tests/unit/dialog/dialog_tickets.js')
-rw-r--r-- | tests/unit/dialog/dialog_tickets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/dialog/dialog_tickets.js b/tests/unit/dialog/dialog_tickets.js index 201ea3a87..5c3277c2f 100644 --- a/tests/unit/dialog/dialog_tickets.js +++ b/tests/unit/dialog/dialog_tickets.js @@ -10,7 +10,7 @@ asyncTest( "#3123: Prevent tabbing out of modal dialogs", function() { var el = $( "<div><input id='t3123-first'><input id='t3123-last'></div>" ).dialog({ modal: true }), inputs = el.find( "input" ), - widget = el.dialog( "widget" ); + widget = el.dialog( "widget" )[ 0 ]; function checkTab() { ok( $.contains( widget, document.activeElement ), "Tab key event moved focus within the modal" ); |