Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 8a6dfd5

Browse files
committed
Merge pull request #1325 from srodrigu85/issue1243
Fix for issue #1243 (Input fields don't work in dialogs)
2 parents 72f4b57 + 8746e0f commit 8a6dfd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/Dialogs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ define(function (require, exports, module) {
9191
if (buttonId) {
9292
_dismissDialog(this, buttonId);
9393
} else if (!($.contains(this.get(0), e.target)) ||
94-
(this.filter(":input").length === 0)) {
94+
($(e.target).filter(":input").length === 0)) {
9595
// Stop the event if the target is not inside the dialog
9696
// or if the target is not a form element.
9797
// TODO (issue #414): more robust handling of dialog scoped

0 commit comments

Comments
 (0)