|
Lines 47-53
Link Here
|
| 47 |
.addClass("fa fa-fw fa-remove") |
47 |
.addClass("fa fa-fw fa-remove") |
| 48 |
.attr("aria-hidden", true) |
48 |
.attr("aria-hidden", true) |
| 49 |
.attr("aria-label", _("Clear date") ) |
49 |
.attr("aria-label", _("Clear date") ) |
| 50 |
); |
50 |
).keydown(function(e) { |
|
|
51 |
var key = (event.keyCode ? event.keyCode : event.which); |
| 52 |
if ( key == 40 ) { |
| 53 |
instance.set('allowInput',false); |
| 54 |
} |
| 55 |
}); |
| 51 |
}, |
56 |
}, |
| 52 |
onClose: function( selectedDates, dateText, instance) { |
57 |
onClose: function( selectedDates, dateText, instance) { |
| 53 |
validate_date( selectedDates, instance ); |
58 |
validate_date( selectedDates, instance ); |
|
Lines 66-71
Link Here
|
| 66 |
validate_date( selectedDates, instance ); |
71 |
validate_date( selectedDates, instance ); |
| 67 |
}, |
72 |
}, |
| 68 |
}); |
73 |
}); |
|
|
74 |
|
| 69 |
}); |
75 |
}); |
| 70 |
</script> |
76 |
</script> |
| 71 |
[% END %] |
77 |
[% END %] |
| 72 |
- |
|
|