Fix Edit Project Settings link on project show page

This commit is contained in:
Eric Allen 2009-10-02 15:25:20 -04:00
parent 8738481f31
commit 48f7f25702
2 changed files with 7 additions and 5 deletions

View file

@ -271,8 +271,9 @@ $(document).ready(function() {
'Add a next action »', 'Add a next action');
});
$('.item-container .edit-form a.negative').live('click', function(){
$('.edit-form a.negative').live('click', function(){
$(this).parents('.container').find('.item-show').show();
$(this).parents('.container').find('.project').show();
$(this).parents('.edit-form').hide();
});
@ -388,6 +389,7 @@ $(document).ready(function() {
$("#list-active-projects").sortable({handle: '.handle', update: update_project_order});
$("#list-hidden-projects").sortable({handle: '.handle', update: update_project_order});
$("#list-completed-projects").sortable({handle: '.handle', update: update_project_order});
/* Gets called from some AJAX callbacks, too */
enable_rich_interaction();
});