Bug 33568: Fix popup behaviour for SpineLabelShowPrintOnBibDetails
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
57997263b2
commit
32331a1f5a
2 changed files with 8 additions and 5 deletions
|
@ -802,6 +802,14 @@
|
|||
container.find(".bottom.pager").remove();
|
||||
}
|
||||
|
||||
[% IF ( SpineLabelShowPrintOnBibDetails ) %]
|
||||
$(".print-label").on("click", function(e){
|
||||
e.preventDefault();
|
||||
link = $(this).attr("href");
|
||||
openWindow(link,"Print spine label",400,400);
|
||||
});
|
||||
[% END %]
|
||||
|
||||
if ( drawcallback ) { drawcallback(this); }
|
||||
},
|
||||
[% END %]
|
||||
|
|
|
@ -1345,11 +1345,6 @@
|
|||
}
|
||||
});
|
||||
[% END %]
|
||||
$(".print-label").on("click", function(e){
|
||||
e.preventDefault();
|
||||
link = $(this).attr("href");
|
||||
openWindow(link,"Print spine label",400,400);
|
||||
});
|
||||
$(".cover-slider").on("click",".cover-nav", function(e){
|
||||
e.preventDefault();
|
||||
var cover_slider = $(this).parent();
|
||||
|
|
Loading…
Reference in a new issue