calentry js interface

This commit is contained in:
Andreas Stephanides
2014-11-16 14:30:04 +01:00
parent 4c47919543
commit c49ec5e736
11 changed files with 71 additions and 43 deletions

View File

@@ -1,2 +1,7 @@
$("#calentry_<%= @calentry.id %>").html("<%=escape_javascript( render :partial=>"nested_form" ,:object=>@calentry)%>");
$('.datetimepicker').datetimepicker({format: 'd.m.Y H:i', startDate: (!($(this).attr("value")==undefined))? $(this).attr("value"): ""})