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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +1 lines)
Lines 354-360 legend:hover { Link Here
354
                                                        [% IF ( ERROR_dateofbirth ) %]
354
                                                        [% IF ( ERROR_dateofbirth ) %]
355
                                                            <span class="required">(Error)</span>
355
                                                            <span class="required">(Error)</span>
356
                                                        [% END %]
356
                                                        [% END %]
357
                                                        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
357
                                                        <div id="dateofbirth_hint" class="hint">[% INCLUDE 'date-format.inc' %]</div>
358
                                                    </li>
358
                                                    </li>
359
                                                [% END # /UNLESS nodateofbirth %]
359
                                                [% END # /UNLESS nodateofbirth %]
360
                                                [% UNLESS noinitials %]
360
                                                [% UNLESS noinitials %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/members.js (-2 / +1 lines)
Lines 148-154 function CalculateAge(dateofbirth) { Link Here
148
}
148
}
149
149
150
function write_age() {
150
function write_age() {
151
    var hint = $("#dateofbirth").siblings(".hint").first();
151
    var hint = $("#dateofbirth_hint");
152
    hint.html(dateformat);
152
    hint.html(dateformat);
153
153
154
    var age = CalculateAge(document.form.dateofbirth.value);
154
    var age = CalculateAge(document.form.dateofbirth.value);
155
- 

Return to bug 29278