mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #115 from Tom-Van-Asch/master
fix onGenerate function to be triggered
This commit is contained in:
commit
da91d87ce1
@ -975,7 +975,7 @@
|
||||
opt+='<div class="xdsoft_option '+(_xdsoft_datetime.currentTime.getMonth()==i?'xdsoft_current':'')+'" data-value="'+i+'">'+options.i18n[options.lang].months[i]+'</div>';
|
||||
}
|
||||
monthselect.children().eq(0).html(opt);
|
||||
$(this).trigger('generate.xdsoft');
|
||||
$(datetimepicker).trigger('generate.xdsoft');
|
||||
},10);
|
||||
event.stopPropagation();
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user