Browse Source

Bug 4969: Do not jump to the top on click

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
17.05.x
Jonathan Druart 7 years ago
committed by Kyle M Hall
parent
commit
3c81b82b4b
  1. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt

6
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt

@ -34,12 +34,14 @@ $(document).ready(function() {
$(this).find("legend").html(legend);
});
$("#show_all_vendors").hide();
$("#show_active_vendors").click(function(){
$("#show_active_vendors").on('click', function(e){
e.preventDefault();
$(".inactive").hide();
$("#show_active_vendors").hide();
$("#show_all_vendors").show();
});
$("#show_all_vendors").click(function(){
$("#show_all_vendors").on('click', function(e){
e.preventDefault();
$(".inactive").show();
$("#show_all_vendors").hide();
$("#show_active_vendors").show();

Loading…
Cancel
Save