Bug 35362: (follow-up) Fix preview close on guarantor add
When adding a guarantor you are given a patron search modal. If you then preview a search result, the preview modal could not be closed. It's a simple update for 'close' to 'close_window' in the jQuery selector. Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
09eb174599
commit
d38735964c
|
|
@ -698,7 +698,7 @@
|
|||
var borrowernumber = $(this).data("borrowernumber");
|
||||
var page = "/cgi-bin/koha/members/moremember.pl?print=brief&borrowernumber=" + borrowernumber;
|
||||
$("#patron_preview_modal").load( page + " div.container-fluid", function(){
|
||||
$("#patron_preview_modal").find(".close").on("click", function(){
|
||||
$("#patron_preview_modal").find(".close_window").on("click", function(){
|
||||
$('#patron_preview_modal').html(_("Loading...")).removeClass("show");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue