Add note working again for Projects

This commit is contained in:
Eric Allen 2009-10-15 21:16:22 -04:00
parent 00da0b36aa
commit 94ec1d46bb
3 changed files with 23 additions and 3 deletions

View file

@ -427,6 +427,12 @@ $(document).ready(function() {
$(this).parents('.edit-form').find('form').clearForm();
});
$(".add_note_link a").live('click', function(){
$('#new-note').show();
$('#new-note form').clearForm();
$('#new-note form input:first').focus();
});
$("#list-active-projects").sortable({handle: '.handle', update: update_order});
$("#list-hidden-projects").sortable({handle: '.handle', update: update_order});
$("#list-completed-projects").sortable({handle: '.handle', update: update_order});