]> source.dussan.org Git - jquery-ui.git/commit
Dialog: Honor preventDefault when managing focus 1265/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 10 Jun 2014 11:51:25 +0000 (13:51 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 10 Jun 2014 11:59:45 +0000 (13:59 +0200)
commit226cc3e9e57c7591ff6a2ee02ffed52ac97786a9
treee104fd5bb3b470d47c913917dbbbcd1ae4f89969
parenta0b84767a76098cdcc6375dfe28a7fee866bd395
Dialog: Honor preventDefault when managing focus

If event.isDefaultPrevented() is true, the focus management is
completely skipped, assuming the user manages focus manually.

Fixes #10103
Closes gh-1265
tests/unit/dialog/dialog_core.js
ui/dialog.js