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:
parent
c4ffd72888
commit
d3afd56946
3 changed files with 7 additions and 0 deletions
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue