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

(-)a/koha-tmpl/intranet-tmpl/prog/js/members.js (-3 / +2 lines)
Lines 109-117 function select_user(borrowernumber, borrower, relationship) { Link Here
109
        fieldset.find('.new_guarantor_firstname_text').first().text( guarantor_firstname );
109
        fieldset.find('.new_guarantor_firstname_text').first().text( guarantor_firstname );
110
        $('#guarantor_firstname').val("");
110
        $('#guarantor_firstname').val("");
111
111
112
        var guarantor_relationship = $('#relationship').val();
112
        var guarantor_relationship = $('.relationship').val();
113
        fieldset.find('.new_guarantor_relationship').first().val( guarantor_relationship );
113
        fieldset.find('.new_guarantor_relationship').first().val( guarantor_relationship );
114
        $('#relationship').find('option:eq(0)').prop('selected', true);
114
        $('.relationship').find('option:eq(0)').prop('selected', true);
115
115
116
        fieldset.find('.guarantor-details').first().attr( 'data-borrowernumber', borrowernumber );
116
        fieldset.find('.guarantor-details').first().attr( 'data-borrowernumber', borrowernumber );
117
117
118
- 

Return to bug 31470