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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +1 lines)
Lines 698-704 legend.collapsed i.fa.fa-caret-down::before { Link Here
698
                                                    <li>
698
                                                    <li>
699
                                                        [% IF mandatoryrelationship %]
699
                                                        [% IF mandatoryrelationship %]
700
                                                            <label for="relationship" class="required">Relationship: </label>
700
                                                            <label for="relationship" class="required">Relationship: </label>
701
                                                            <select class="relationship" name="relationship" required="required">
701
                                                            <select class="relationship" name="relationship" id="relationship" required="required">
702
                                                        [% ELSE %]
702
                                                        [% ELSE %]
703
                                                            <label for="relationship">Relationship: </label>
703
                                                            <label for="relationship">Relationship: </label>
704
                                                            <select class="relationship" name="relationship" id="relationship">
704
                                                            <select class="relationship" name="relationship" id="relationship">
(-)a/koha-tmpl/intranet-tmpl/prog/js/members.js (-2 lines)
Lines 118-124 function select_user(borrowernumber, borrower, relationship) { Link Here
118
118
119
        var guarantor_relationship = $('#relationship').val();
119
        var guarantor_relationship = $('#relationship').val();
120
        fieldset.find('.new_guarantor_relationship').first().val( guarantor_relationship );
120
        fieldset.find('.new_guarantor_relationship').first().val( guarantor_relationship );
121
        $('#relationship').find('option:eq(0)').prop('selected', true);
122
121
123
        fieldset.find('.guarantor-details').first().attr( 'data-borrowernumber', borrowernumber );
122
        fieldset.find('.guarantor-details').first().attr( 'data-borrowernumber', borrowernumber );
124
123
125
- 

Return to bug 31470