Merge pull request #115 from Tom-Van-Asch/master

fix onGenerate function to be triggered
This commit is contained in:
Valeriy 2014-05-15 18:55:05 +06:00
commit da91d87ce1

View File

@ -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>'; 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); monthselect.children().eq(0).html(opt);
$(this).trigger('generate.xdsoft'); $(datetimepicker).trigger('generate.xdsoft');
},10); },10);
event.stopPropagation(); event.stopPropagation();
}) })