Skip to content
Snippets Groups Projects
Commit cb57255f authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Merge branch 'release_5.2.6' of git.unicaen.fr:open-source/sygal into release_5.2.6

parents 840e3521 ed0472ac
Branches
Tags
No related merge requests found
......@@ -12,6 +12,7 @@ Journal des modifications
- [FIX] Ajout de l'affichage de la liste des présences à une session si celle-ci est imminente.
- [FIX] Correction du calcul d'erreur de l'année de thèse du doctorant dans les sessions de formation.
- [FIX] Correction du problème de téléchargement des avis en mode non connecté (par exemple pour les membres du jury)
- [FIX] removeProp() ne fonctionnait plus dans le widget JS d'autorisation de mise en ligne : remplacé par prop().
5.2.5
-----
......
......@@ -20,7 +20,7 @@ $maxFileCountThese = 1;
$maxFileCountAutres = 50;
$divId = $versionCorrigee ? 'div-depot-corrige' : 'div-depot-initial';
$h1 = $versionCorrigee ? "Dépôt version corrigée" : "Dépôt de la thèse";
$h1 = $versionCorrigee ? "Téléversement version corrigée" : "Téléversement de la thèse";
?>
<?php $this->headTitle("Dépôt thèse")->prepend($these->getDoctorant()->getIndividu()->getNomUsuel()) ?>
......
......@@ -211,8 +211,8 @@ $.widget("unicaen.widgetDroitAuteurThese", {
this.getAnnexesDiv().refresh({}, function () {
$(this).show();
});
this.getTheseDiv().show(effect, {direction: "left"}).find(':input').removeProp('disabled');
this.getAnnexesDiv().show(effect, {direction: "left"}).find(':input').removeProp('disabled');
this.getTheseDiv().show(effect, {direction: "left"}).find(':input').prop('disabled', false);
this.getAnnexesDiv().show(effect, {direction: "left"}).find(':input').prop('disabled', false);
break;
default:
this.getDivFichiersExpurges().hide();
......@@ -270,22 +270,22 @@ $.widget("unicaen.widgetAutorisationMiseEnLigne", {
case "2": // oui immédiatement
this.getInputDivEmbargoDuree().hide(effect, {direction: "left"}).find(':input').prop('disabled', 'disabled');
this.getInputDivMotif().hide(effect, {direction: "up"}).find(':input').prop('disabled', 'disabled');
this.getInputDivAuteur().show(effect, {direction: "up"}).find(':input').removeProp('disabled');
this.getInputDivAuteur().show(effect, {direction: "up"}).find(':input').prop('disabled', false);
this.getExplicOuiImmediat().show();
this.getExplicOuiEmbargo().hide();
this.getExplicNon().hide();
break;
case "1": // oui avec embargo
this.getInputDivEmbargoDuree().show(effect, {direction: "left"}).find(':input').removeProp('disabled');
this.getInputDivMotif().show(effect, {direction: "up"}).find(':input').removeProp('disabled');
this.getInputDivAuteur().show(effect, {direction: "up"}).find(':input').removeProp('disabled');
this.getInputDivEmbargoDuree().show(effect, {direction: "left"}).find(':input').prop('disabled', false);
this.getInputDivMotif().show(effect, {direction: "up"}).find(':input').prop('disabled', false);
this.getInputDivAuteur().show(effect, {direction: "up"}).find(':input').prop('disabled', false);
this.getExplicOuiImmediat().hide();
this.getExplicOuiEmbargo().show();
this.getExplicNon().hide();
break;
case "0": // non
this.getInputDivEmbargoDuree().hide(effect, {direction: "left"}).find(':input').prop('disabled', 'disabled');
this.getInputDivMotif().show(effect, {direction: "up"}).find(':input').removeProp('disabled');
this.getInputDivMotif().show(effect, {direction: "up"}).find(':input').prop('disabled', false);
this.getInputDivAuteur().hide(effect, {direction: "up"}).find(':input').prop('disabled', 'disabled');
this.getExplicOuiImmediat().hide();
this.getExplicOuiEmbargo().hide();
......@@ -349,7 +349,7 @@ $.widget("unicaen.widgetConfidentialiteThese", {
effect = effect ? "slide" : null;
switch (value) {
case "1":
this.getDivDateFin().show(effect, {direction: "left"}).find(':input').removeProp('disabled');
this.getDivDateFin().show(effect, {direction: "left"}).find(':input').prop('disabled', false);
this.getExplicConfidentialiteOui().show(effect, {direction: "left"});
this.getExplicConfidentialiteNon().hide(effect, {direction: "left"});
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment