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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to