[Bug 11770] New: Use validation plugin when creating new road type
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11770 Bug ID: 11770 Summary: Use validation plugin when creating new road type Change sponsored?: --- Product: Koha Version: master Hardware: All URL: /cgi-bin/koha/admin/roadtype.pl?op=add_form OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: System Administration Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Depends on: 11764, 11765 The new road type entry form uses custom validation JavaScript which can be easily replaced with HTML5 validation attributes in conjunction with Koha's built-in validation plugin (http://jqueryvalidation.org/documentation/). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11770 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11770 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 25296 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25296&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11770 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |RESOLVED Resolution|--- |INVALID --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- This template no longer exists in master. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org