Allow stages edition in attribution view

Unfortunately, the popup is not closed when the object is saved.
It appears this scenario is not planned in Django.
This commit is contained in:
Claude Paroz 2012-11-30 17:51:12 +01:00
parent c4ffd72888
commit d3afd56946
3 changed files with 7 additions and 0 deletions

View file

@ -99,6 +99,10 @@ function update_trainings(period_id) {
referent.text(parsed[1] +' (' + (parseInt(parsed[2]) - 1) + ')');
});
});
$('a.edit_training').click(function(ev) {
ev.preventDefault();
showAddAnotherPopup(this);
});
set_export_visibility();
});
}