|
Lines 270-276
Link Here
|
| 270 |
|
270 |
|
| 271 |
[% UNLESS action == 'edit' && !OPACPatronDetails %] |
271 |
[% UNLESS action == 'edit' && !OPACPatronDetails %] |
| 272 |
[% UNLESS ( mandatory.defined('dateofbirth') ) %] |
272 |
[% UNLESS ( mandatory.defined('dateofbirth') ) %] |
| 273 |
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('borrower_dateofbirth').value='';return false;">Clear date</a> |
273 |
<a href="#" style="font-size:85%;text-decoration:none;" class="cleardate">Clear date</a> |
| 274 |
[% END %] |
274 |
[% END %] |
| 275 |
[% END %] |
275 |
[% END %] |
| 276 |
|
276 |
|
|
Lines 988-993
Link Here
|
| 988 |
}); |
988 |
}); |
| 989 |
[% END %] |
989 |
[% END %] |
| 990 |
}); |
990 |
}); |
|
|
991 |
|
| 992 |
$(".cleardate").on("click", function(){ |
| 993 |
document.getElementById('borrower_dateofbirth').value=''; |
| 994 |
return false; |
| 995 |
}); |
| 991 |
//]]> |
996 |
//]]> |
| 992 |
</script> |
997 |
</script> |
| 993 |
[% INCLUDE 'calendar.inc' %] |
998 |
[% INCLUDE 'calendar.inc' %] |
| 994 |
- |
|
|