Mercurial > public > sg101
comparison media/js/gcalendar.js @ 131:5b69d6e01fd4
Creating a common way to display the smiley and markdown help dialogs for a markItUp textarea input form. Converted gcalendar over to it as a trial.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 Nov 2009 22:47:17 +0000 |
parents | c0d3b09c9b95 |
children | 4e1abeb593c2 |
comparison
equal
deleted
inserted
replaced
130:a4635c094f24 | 131:5b69d6e01fd4 |
---|---|
1 $(document).ready(function() { | 1 $(document).ready(function() { |
2 $('#id_description').markItUp(mySettings); | |
3 $('#id_start_date').datepicker({constrainInput: true, | 2 $('#id_start_date').datepicker({constrainInput: true, |
4 onClose: function () { | 3 onClose: function () { |
5 var end = $('#id_end_date'); | 4 var end = $('#id_end_date'); |
6 if (this.value > end.val()) | 5 if (this.value > end.val()) |
7 { | 6 { |