https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35131

--- Comment #17 from Lucas Gass <[email protected]> ---
(In reply to paxed from comment #16)
> This can be done with just javascript without needing to change Koha code,
> something like
> 
> $(document).ready(function () {
>   if (window.location.pathname == '/cgi-bin/koha/members/moremember.pl') {
>     cardnumber =
> document.getElementById('patron-cardnumber').childNodes[2].nodeValue.trim();
>     barcodeurl = "/cgi-bin/koha/svc/barcode?barcode=" +
> cardnumber.toUpperCase() + "&notext=1";
>     $('li#patron-cardnumber').append('<br><img src="' + barcodeurl + '">');
>   }
> });

Sure, but we'd rather see this get into Koha as a feature instead of having to
upkeep any custom javascript.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to