-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix and Re-enable some unit tests on dialog, tooltip, and draggable #1144
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -361,9 +361,9 @@ test("ensure dialog keeps focus when clicking modal overlay", function() { | |
var element = $( "<div></div>" ).dialog({ | ||
modal: true | ||
}); | ||
ok( $(":focus").closest(".ui-dialog").length, "focus is in dialog" ); | ||
equal( $(document.activeElement).closest(".ui-dialog").length, 1, "focus is in dialog" ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Styling: |
||
$(".ui-widget-overlay").simulate("mousedown"); | ||
ok( $(":focus").closest(".ui-dialog").length, "focus is still in dialog" ); | ||
equal( $(document.activeElement).closest(".ui-dialog").length, 1, "focus is still in dialog" ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Styling: |
||
element.remove(); | ||
}); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this to
"0.4.2"
? We like using exact version numbers.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, why is this change required?