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

Fix #11416: Enter key behaviour on Extension Manager Search Box #12839

Merged
merged 2 commits into from
Oct 18, 2016

Conversation

sahildua2305
Copy link
Contributor

Fixes #11416
Made an exception for INPUT element in Dialogs.js so that we don't click
the primary button (in this case ESCAPE) when it's an INPUT.

Fixes adobe#11416
Made an exception for INPUT element in Dialogs.js so that we don't click
the primary button (in this case ESCAPE) when it's an INPUT.
@@ -166,7 +166,9 @@ define(function (require, exports, module) {
stopEvent();
if (e.target.tagName === "BUTTON") {
this.find(e.target).click();
} else {
} else if (e.target.tagName != "INPUT") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by ESLint rules in place for project, !== is required instead of !=

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

@zaggino
Copy link
Contributor

zaggino commented Oct 18, 2016

@petetnt @ficristo second look? just because you've been watching the issues reported around this probably more than I did

@petetnt
Copy link
Collaborator

petetnt commented Oct 18, 2016

This looks good to me. Thanks for this contribution @sahildua2305!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants