Merge branch 'Elarnon/autoriser_la_suppression_dun_voeud_bda_qui_nexiste_pas' into 'master'
Permet la suppression d'un voeu ajouté mais non enregistré See merge request klub-dev-ens/gestioCOF!329
This commit is contained in:
commit
39d82a573f
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ var django = {
|
|||
} else {
|
||||
deleteInput.attr("checked", true);
|
||||
}
|
||||
} else {
|
||||
// Reset the default values
|
||||
var selects = $(form).find("select");
|
||||
$(selects[0]).val("");
|
||||
$(selects[1]).val("1");
|
||||
}
|
||||
// callback
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue