Skip to content
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

Fixes #2975 - "Briefly describe the issue" fix & validation #2991

Merged
merged 1 commit into from
Oct 21, 2019

Conversation

munteanu210
Copy link
Contributor

This PR fixes issue #2975

Proposed PR background

I added validation for the field. When this field is empty, the "Continue" button is disabled. When you enter something, the field is validated, the check symbol appears and the button is activated to proceed to the next step.

@@ -24,6 +24,10 @@ function Validation() {
var val = descField.val();
return $.trim(val) !== "";
},
isIssueValid: function(issueField) {
Copy link
Member

Choose a reason for hiding this comment

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

This seems like it's doing the same as isDescriptionValid -- in the future we might consider making them call the same method. But let's merge here to not block.

Copy link
Member

Choose a reason for hiding this comment

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

@miketaylr miketaylr merged commit 9e60c58 into webcompat:master Oct 21, 2019
@munteanu210 munteanu210 deleted the issues/2975 branch October 21, 2019 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants