|
Lines 1-6
Link Here
|
| 1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
| 2 |
<script type="text/javascript"> |
2 |
<script> |
| 3 |
//<![CDATA[ |
|
|
| 4 |
|
3 |
|
| 5 |
var debug = "[% debug | html %]"; |
4 |
var debug = "[% debug | html %]"; |
| 6 |
var dformat = "[% dateformat | html %]"; |
5 |
var dformat = "[% dateformat | html %]"; |
|
Lines 161-171
function(value, element, params) {
Link Here
|
| 161 |
$(document).ready(function(){ |
160 |
$(document).ready(function(){ |
| 162 |
|
161 |
|
| 163 |
$.datepicker.setDefaults({ |
162 |
$.datepicker.setDefaults({ |
| 164 |
showOn: "both", |
163 |
showOn: "focus", |
| 165 |
changeMonth: true, |
164 |
changeMonth: true, |
| 166 |
changeYear: true, |
165 |
changeYear: true, |
| 167 |
buttonImage: '[% interface | html %]/[% theme | html %]/img/famfamfam/silk/calendar.png', |
|
|
| 168 |
buttonImageOnly: true, |
| 169 |
showButtonPanel: true, |
166 |
showButtonPanel: true, |
| 170 |
showOtherMonths: true, |
167 |
showOtherMonths: true, |
| 171 |
selectOtherMonths: true, |
168 |
selectOtherMonths: true, |
|
Lines 203-207
$("#dateofbirth").datepicker({
Link Here
|
| 203 |
if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} |
200 |
if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} |
| 204 |
}); |
201 |
}); |
| 205 |
}); |
202 |
}); |
| 206 |
//]]> |
|
|
| 207 |
</script> |
203 |
</script> |
| 208 |
- |
|
|