24 Jul
2013
24 Jul
'13
12:45 a.m.
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+