app/soc/content/js/datetimepicker-090304.js
author James Levy <jamesalexanderlevy@gmail.com>
Sat, 04 Jul 2009 13:53:17 +0200
changeset 2526 8f29bfb9eb52
parent 2025 e44de18a2f5d
child 2800 cd9eed2b787e
permissions -rw-r--r--
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'
            });
        });