Mercurial > public > sg101
annotate media/js/bio.js @ 122:b28d30848c57
Forums: monkey-patch the user profile onto the post object when doing a quick ajax reply.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 27 Oct 2009 02:56:16 +0000 |
parents | d5eed0a91a05 |
children | c515b7401078 |
rev | line source |
---|---|
gremmie@1 | 1 |
gremmie@1 | 2 $(document).ready(function() { |
gremmie@1 | 3 $('#id_profile_text').markItUp(mySettings); |
gremmie@1 | 4 $('#id_signature').markItUp(mySettings); |
gremmie@1 | 5 $('#id_birthday').datepicker({changeMonth: true, |
gremmie@1 | 6 changeYear: true, |
gremmie@1 | 7 dateFormat: 'yy-mm-dd', |
bgneal@77 | 8 defaultDate: '-30y', |
gremmie@1 | 9 minDate: new Date(1909, 0, 1), |
gremmie@1 | 10 maxDate: new Date(), |
gremmie@1 | 11 yearRange: '-100:+0'}); |
gremmie@1 | 12 }); |