Files
fetsite/app/assets/javascripts/neuigkeiten.js.coffee
Andreas Stephanides 6c8bd756e5 datetimepicker fix
2014-09-14 12:37:23 +02:00

7 lines
384 B
CoffeeScript
Executable File

# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$ ->
`$('.datetimepicker').datetimepicker({format: 'd.m.Y H:i', startDate: (!($(this).attr("value")==undefined))? $(this).attr("value"): '' })`
return