http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9783
Bug ID: 9783
Summary: can hit submit twice when adding patrons
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Clicking twice or more on the Save button will generate duplicate patrons when
adding patrons. Of course, there is handling that detects this, so you can
choose to either edit the original record (i.e. throw away the duplicate) or
create a duplicate record.
However, it shouldn't get to that point by clicking on the Save button. That
handling seems to be there to handle cases where you go through the whole
process of trying to add a new patron only to find out that they already exist
in the system (or at least their username/password do).
--
I tried briefly to add the following code to the memberentrygen page:
$("#entryform").preventDoubleFormSubmit();
But it doesn't seem to work. I wonder if it's because of the
check_form_borrower code that executes on a submit of the form.
--
You are receiving this mail because:
You are the assignee for the bug.
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/