[Koha-bugs] [Bug 16066] New: JavaScript error on new patron form when duplicate is suspected
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 14 16:22:44 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16066
Bug ID: 16066
Summary: JavaScript error on new patron form when duplicate is
suspected
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
URL: /cgi-bin/koha/members/memberentry.pl
OS: All
Status: ASSIGNED
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: oleonard at myacpl.org
Reporter: oleonard at myacpl.org
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
JavaScript on the patron add/edit form uses "document.form" to find the value
of a form field on the page:
var age = CalculateAge(document.form.dateofbirth.value);
If you have tried to save a patron which is suspected to be a duplicate, the
template defines the <form> without a name attribute and thus the value of
dateofbirth cannot be found.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list