Commit 2a47243f authored by Alexandre Goldstein's avatar Alexandre Goldstein
Browse files

wip

parent 879004b9
Pipeline #8914 failed with stages
......@@ -97,9 +97,6 @@ trait archiveModificationTrait
}
}
if (isset(\laabs::configuration("medona")['formatDisplay'])) {
$formatDisplay = \laabs::configuration("medona")['formatDisplay'];
}
$retentionRuleReceived = $retentionRule;
......@@ -479,6 +476,10 @@ trait archiveModificationTrait
$this->validateDescriptionModel($descriptionObject, $this->currentArchivalProfile);
}
if (isset(\laabs::configuration("medona")['formatDisplay']) && \laabs::configuration("medona")['formatDisplay']) {
$formatDisplay = \laabs::configuration("medona")['formatDisplay'];
}
$descriptionController = $this->useDescriptionController($archive->descriptionClass);
$archive->descriptionObject = $descriptionObject;
......
......@@ -128,7 +128,7 @@
$('#derogationInputTr').hide();
}
//TODO change condition below user set formatDisplay to true
//TODO change condition below if user set formatDisplay to true
// if (type === 'requestModification' && formatDisplay === false)
if (type === 'requestModification')
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment