orbit-calendar/app/assets/javascripts/date.time.picker.js

17 lines
365 B
JavaScript
Raw Normal View History

2014-01-15 09:04:38 +00:00
!function ($) {
$.fn.datetimepick = function() {
var $this = this,
$data = $this.data();
$this.datetimepicker({
format: $data.dateFormat,
pickTime: $data.picktime,
language: $data.language,
});
}
}(window.jQuery);
$(function(){
$('.datetimepick').each(function() {
$(this).datetimepick();
});
});