mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
set todayHighlight and toggleActive in date picker
This commit is contained in:
parent
e2db558de7
commit
ab858a9af8
|
@ -64,7 +64,7 @@ $(document).ready( function() {
|
|||
$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
|
||||
|
||||
$('.datepicker, #expirationdate, #fromdate, #todate, #createstartdate, #createenddate, #expirationstartdate, #expirationenddate')
|
||||
.datepicker()
|
||||
.datepicker({todayHighlight: true, toggleActive: true})
|
||||
.on('changeDate', function(ev){
|
||||
if(ev.date && $(ev.target).data('selectmenu')) {
|
||||
$("#"+$(ev.target).data('selectmenu')).val('date');
|
||||
|
|
Loading…
Reference in New Issue
Block a user