View | Details | Raw Unified | Return to bug 41211
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +4 lines)
Lines 1021-1027 function toggleBtnIcon(element, start, replacement) { Link Here
1021
 */
1021
 */
1022
function holds_table_patron_page() {
1022
function holds_table_patron_page() {
1023
    var url = window.location.href;
1023
    var url = window.location.href;
1024
    if (url.indexOf("/circ/circulation.pl?borrowernumber=") !== -1)
1024
    if (
1025
        url.indexOf("/circ/circulation.pl?borrowernumber=") !== -1 ||
1026
        url.indexOf("/circ/circulation.pl?findborrower=") !== -1
1027
    )
1025
        return "circ";
1028
        return "circ";
1026
    else if (url.indexOf("/members/moremember.pl?borrowernumber=") !== -1)
1029
    else if (url.indexOf("/members/moremember.pl?borrowernumber=") !== -1)
1027
        return "borrower";
1030
        return "borrower";
1028
- 

Return to bug 41211