Mercurial > public > sg101
annotate media/js/bio.js @ 102:e67c4dd98db5
Forums: new topic form sprouts boolean fields for sticky and locking if the user has rights. Implemented the locked logic. Fixed a bug where topics where getting out of order (the view_count was bumping the update_date because of auto_now).
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 16 Sep 2009 02:01:57 +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 }); |