[Koha] JQuery Help

Nicole Engard nengard at gmail.com
Wed Jul 24 10:45:14 NZST 2013


Can someone tell me why this works in Koha 3.12:

//hide buttons on patron record (3.12)
  $(document).ready(function(){
$("a#duplicate.btn.btn-small").hide();
$("a#addchild.btn.btn-small").hide();
  });


But none of the below work in Koha 3.10.x?

//hide buttons on patron record (3.10.x)
  $(document).ready(function(){
$("#duplicate-button").hide();
$("#addchild-button").hide();
  });

//hide buttons on patron record (3.10.x)
  $(document).ready(function(){
$("a#duplicate-button").hide();
$("a#addchild-button").hide();
  });

I'm trying to hide the add child and duplicate buttons on the patron
page and can do it with no trouble in Koha 3.12+


More information about the Koha mailing list