diff media/js/gcalendar.js @ 184:4e1abeb593c2

Updating jQuery and jQuery UI. This is for ticket #57. Noticed GCalendar wasn't opening the datepicker on the correct date until I set a dateFormat option. Fixed member map to undisable the update button if you type in a location that can't be geocoded.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 22:19:08 +0000
parents 5b69d6e01fd4
children 7e3ed3eb9b99
line wrap: on
line diff
--- a/media/js/gcalendar.js	Sun Mar 28 21:47:48 2010 +0000
+++ b/media/js/gcalendar.js	Sun Mar 28 22:19:08 2010 +0000
@@ -1,5 +1,6 @@
 $(document).ready(function() {
     $('#id_start_date').datepicker({constrainInput: true, 
+       dateFormat: 'yy-mm-dd',
        onClose: function () {
          var end = $('#id_end_date');
          if (this.value > end.val())
@@ -9,6 +10,7 @@
        }
        });
     $('#id_end_date').datepicker({constrainInput: true,
+       dateFormat: 'yy-mm-dd',
        onClose: function () {
          var start = $('#id_start_date');
          if (this.value < start.val())