app/soc/content/js/datetimepicker-090304.js
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 01 Jul 2009 16:22:35 +0200
changeset 2473 5cf0625dfa73
parent 2025 e44de18a2f5d
child 2800 cd9eed2b787e
permissions -rw-r--r--
Changed the Survey public view to give a preview of the Survey. Also changed the access rights for deleting a Survey because of the possible invalid references problem. Added two TODO's to the _public method. The first one involves enabling the SurveyForm to generate a form without passing along the Logic since it is only used to retrieve the Survey entity which we already have available. The second one involves a brief discussion about the getFields method's functionality and name.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1451
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     1
$(function() {
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     2
        $('.datetime-pick').datetimepicker();
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     3
        $('.date-pick').datetimepicker({
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     4
                'pickDateOnly' : true,
2022
3d84ec6dbd03 Fix Issue 381(Date fields should be displayed in ISO standard formatting) and Issue 207 (Date selector Javascript control always starts out with year 1900 selected).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1646
diff changeset
     5
                'defaultDate' : new Date('01/01/1974'),
1451
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     6
                'timeFormat' : '',
2025
e44de18a2f5d Remove two trailing comma's
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2022
diff changeset
     7
                'yearRange' : '1900:2008'
1451
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     8
            });
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
     9
        });
ef134d062b83 Add generic datepicker support
Sverre Rabbelier <srabbelier@gmail.com>
parents:
diff changeset
    10