Bug 20970: Add preventDefault to avoid trailing # to be added to the url
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
c9d3e54707
commit
9c02784fe5
1 changed files with 6 additions and 2 deletions
|
@ -829,21 +829,25 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#set_managing_library").on("click", function(e){
|
$("#set_managing_library").on("click", function(e){
|
||||||
|
e.preventDefault();
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
$("#managing_library_entry").show();
|
$("#managing_library_entry").show();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#library_entry_cancel").on("click", function(){
|
$("#library_entry_cancel").on("click", function(e){
|
||||||
|
e.preventDefault();
|
||||||
$("#managing_library_entry").hide();
|
$("#managing_library_entry").hide();
|
||||||
$("#set_managing_library").show();
|
$("#set_managing_library").show();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#set_basket_group").on("click", function(e){
|
$("#set_basket_group").on("click", function(e){
|
||||||
|
e.preventDefault();
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
$("#basket_grouping").show();
|
$("#basket_grouping").show();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#basket_group_cancel").on("click", function(){
|
$("#basket_group_cancel").on("click", function(e){
|
||||||
|
e.preventDefault();
|
||||||
$("#basket_grouping").hide();
|
$("#basket_grouping").hide();
|
||||||
$("#set_basket_group").show();
|
$("#set_basket_group").show();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue