~ltp-devs/loco-team-portal/production

« back to all changes in this revision

Viewing changes to loco_directory/media/js/events-ui.js

  • Committer: Michael Hall
  • Date: 2011-08-31 17:03:31 UTC
  • mfrom: (60.207.81 trunk)
  • Revision ID: mhall119@ubuntu.com-20110831170331-6wteqrqndaff1o59
Upgrade to 0.3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
$(document).ready(function(){
2
2
 
3
 
        $.datepicker.setDefaults({
4
 
                showOn: 'focus',
5
 
                dateFormat: 'yy-mm-dd'
6
 
        });
7
 
 
8
 
        $("#id_date_begin_0").datepicker();
9
 
        $('#id_date_begin_1').timepickr({ trigger: 'focus', convention: 24 });
10
 
        
11
 
        $("#id_date_end_0").datepicker();
12
 
        $('#id_date_end_1').timepickr({ trigger: 'focus', convention: 24 });
13
 
        
 
3
    $.datepicker.setDefaults({
 
4
        showOn: 'focus',
 
5
        dateFormat: 'yy-mm-dd',
 
6
    });
 
7
 
 
8
    $("#id_date_begin_0").datepicker({altField: "#id_date_end_0", altFormat: "yy-mm-dd"});
 
9
    $('#id_date_begin_1').timepickr({ trigger: 'focus', convention: 24 });
 
10
 
 
11
    $("#id_date_end_0").datepicker();
 
12
    $('#id_date_end_1').timepickr({ trigger: 'focus', convention: 24 });
 
13
 
 
14
    $('span[rel*=help]').colorTip({color:'orange'});
 
15
 
14
16
});