Survey editing/taking Javascript and CSS fixes.
This patch adds some cosmetic changes and functional fixes:
- UI now removes all of the field content when a field is deleted,
- CSS tweaks, and jQuery hack to specialize comment CSS,
- fixed JS path in take.html.
Reviewed by: Pawel Solyga (with some small changes)
$(function() {
$('.datetime-pick').datetimepicker();
$('.date-pick').datetimepicker({
'pickDateOnly' : true,
'defaultDate' : new Date('01/01/1974'),
'timeFormat' : '',
'yearRange' : '1900:2008'
});
});