]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 Feb 2018 10:36:19 +0000 (11:36 +0100)
commit4a1b67d83e2753c79266183667e284275d19c9c2
tree4fa9057612da4c5ae22714c31fd97f2c06716f17
parentd4897d2d6abfe6943ff8bdaae53cfb8b5a162876
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>
(cherry picked from commit 27fca7aceb91124c037bb3545c351d3cf185e7bf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt