app/soc/content/js/datetimepicker-090304.js
author Madhusudan C.S <madhusudancs@gmail.com>
Sat, 22 Aug 2009 03:56:14 +0530
changeset 2783 339696f3f5cf
parent 2025 e44de18a2f5d
child 2800 cd9eed2b787e
permissions -rw-r--r--
Extended program configuration create/edit views specifically to support GHOP. Added the first views for GHOP, which are inherited from soc program views. Added new param keys, module_package. url_name key now specifies this is view is from a Melange GHOP module. Also added the view to GHOP module's callback.py. The program Logic class's timeline_logic variable is tied to corresponding timeline logic within the constructor.

$(function() {
        $('.datetime-pick').datetimepicker();
        $('.date-pick').datetimepicker({
                'pickDateOnly' : true,
                'defaultDate' : new Date('01/01/1974'),
                'timeFormat' : '',
                'yearRange' : '1900:2008'
            });
        });