| Summary: | Use validation plugin when creating new road type | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Owen Leonard <oleonard> |
| Component: | System Administration | Assignee: | Owen Leonard <oleonard> |
| Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | gmcharlt |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | /cgi-bin/koha/admin/roadtype.pl?op=add_form | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Small patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 11764, 11765 | ||
| Bug Blocks: | |||
| Attachments: | Bug 11770 - Use validation plugin when creating new road type | ||
|
Description
Owen Leonard
2014-02-14 20:48:46 UTC
Created attachment 25296 [details] [review] Bug 11770 - Use validation plugin when creating new road type The page for adding a new road type includes some custom form validation JavaScript which can be removed in favor of HTML5 validation attributes and Koha's built-in validation plugin. This patch does so. To test, apply the patch and go to Administration -> Road types -> New road type. Try submitting the form without entering a road type. This should trigger a validation warning. Submission of the form with valid data should work correctly. Editing an existing road type should also work correctly. This template no longer exists in master. |