]> git.koha-community.org Git - koha.git/commit
Bug 19443: Wrong HTML in patron creation page (members/memberentry.pl)
authorAlex Arnaud <alex.arnaud@biblibre.com>
Tue, 10 Oct 2017 15:21:35 +0000 (15:21 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 17:09:00 +0000 (14:09 -0300)
commit27fca7aceb91124c037bb3545c351d3cf185e7bf
tree1641c98e83c80f7dbfa9f9a4b60f3ff6d9a5fe56
parent18809b137113c36115af1d165a3236901a42bc91
Bug 19443: Wrong HTML in patron creation page (members/memberentry.pl)

The form provided on top of the page if Koha find a duplicate
patron is not closed. This cause some trouble.

Test plan:

 - Edit the syspref IntranetUserJS and type the following code:
   "$(document).ready(function() {
    $("#memberentry_library_management").insertBefore("#memberentry_identity");
    });"
 - create a patron so that Koha will warn you about a duplicate one,
 - click on "Not a duplicate. Save as new record",
 - you should get error(s) about empty field(s).
   Note that now, the library management part's fields are empty or
   reset to default

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt