[fix #873] add motivation in case of refused or without continuation dossier

This commit is contained in:
Simon Lehericey 2017-11-29 11:47:18 +01:00
parent a5cf9cd6d6
commit 68682fe78d
5 changed files with 36 additions and 32 deletions

View file

@ -1,9 +1,9 @@
TPS.acceptDossier = function () {
$(".motivation").show();
TPS.showMotivation = function (state) {
$(".motivation." + state).show();
$(".dropdown-items").hide();
}
};
TPS.motivationCancel = function () {
$(".motivation").hide();
$(".dropdown-items").show();
}
};