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 703-709 legend.collapsed i.fa.fa-caret-down::before { Link Here
703
                                                    <li>
703
                                                    <li>
704
                                                        [% IF mandatoryrelationship %]
704
                                                        [% IF mandatoryrelationship %]
705
                                                            <label for="relationship" class="required">Relationship: </label>
705
                                                            <label for="relationship" class="required">Relationship: </label>
706
                                                            <select class="relationship" name="relationship" required="required">
706
                                                            <select class="relationship" name="relationship" id="relationship" required="required">
707
                                                        [% ELSE %]
707
                                                        [% ELSE %]
708
                                                            <label for="relationship">Relationship: </label>
708
                                                            <label for="relationship">Relationship: </label>
709
                                                            <select class="relationship" name="relationship" id="relationship">
709
                                                            <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