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

(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-6 / +1 lines)
Lines 1036-1046 function toggleBtnIcon(element, start, replacement) { Link Here
1036
 */
1036
 */
1037
function holds_table_patron_page() {
1037
function holds_table_patron_page() {
1038
    var url = window.location.href;
1038
    var url = window.location.href;
1039
    if (
1039
    if (url.indexOf("/circ/circulation.pl") !== -1) return "circ";
1040
        url.indexOf("/circ/circulation.pl?borrowernumber=") !== -1 ||
1041
        url.indexOf("/circ/circulation.pl?findborrower=") !== -1
1042
    )
1043
        return "circ";
1044
    else if (url.indexOf("/members/moremember.pl?borrowernumber=") !== -1)
1040
    else if (url.indexOf("/members/moremember.pl?borrowernumber=") !== -1)
1045
        return "borrower";
1041
        return "borrower";
1046
1042
1047
- 

Return to bug 41825