]> source.dussan.org Git - jquery-ui.git/commit
Dialog: Fix shared event handler for modal dialogs
authorScott González <scott.gonzalez@gmail.com>
Thu, 11 May 2017 17:58:08 +0000 (13:58 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 17 May 2017 15:29:09 +0000 (11:29 -0400)
commit5708046ea1ba4d6d86f431ec9fd32d28ae7542f6
tree045175cfcd8a0200f8f7db53fda1a4d7f83e486d
parent809f29efa79c3c9aba95e6d7ffef41f567cda3a5
Dialog: Fix shared event handler for modal dialogs

The old logic worked when all widgets of the same type used the same
event namespace. However, now that each instance has its own namespace,
we cannot use `_on()` for shared event handlers.

Fixes #15182
Closes gh-1817
ui/widgets/dialog.js