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

Make Prototype Validator optional #3053

Merged
merged 4 commits into from
Mar 10, 2023
Merged

Conversation

loekvangool
Copy link
Contributor

Description (*)

I'm removing prototype/validation.js from some of my pages, but some shared JavaScript libs assume it's still there and start to generate errors.

The validator is not necessary on every page, hence it should be possible to remove it without running into errors.

In the slightly longer term, I'd like to see the whole thing removed and instead switch to the new HTML5 validation options, which are plenty: https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation.

@github-actions github-actions bot added the JavaScript Relates to js/* label Mar 2, 2023
@loekvangool
Copy link
Contributor Author

Related to #3054

@fballiano
Copy link
Contributor

at a first glance it should be ok

Copy link
Contributor

@fballiano fballiano left a comment

Choose a reason for hiding this comment

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

why not

@fballiano fballiano merged commit 587626c into OpenMage:1.9.4.x Mar 10, 2023
@fballiano
Copy link
Contributor

merged and 20ed

@loekvangool loekvangool deleted the patch-14 branch March 14, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScript Relates to js/*
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants