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

--- Comment #1 from Eric Phetteplace <[email protected]> ---
In case it's useful for other people, this is the custom JS I've added:

if (location.pathname.match('/cgi-bin/koha/opac-request-article.pl')) {
    // remove invalid pickup library options
    $('option[value="NOTAPICKUPLIB1"],
option[value="NOTAPICKUPLIB2"]').remove()
}

You need to add in your own branch codes. We actually only have one valid
location so I added another line `$('#branchcode').parent().hide()` to hide the
menu and its label altogether since there's no choice for users to make.

-- 
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