diff --git a/akvo/rsr/static/scripts-src/project-editor.js b/akvo/rsr/static/scripts-src/project-editor.js index c38ee0a687..12fe77d5cf 100644 --- a/akvo/rsr/static/scripts-src/project-editor.js +++ b/akvo/rsr/static/scripts-src/project-editor.js @@ -2240,6 +2240,7 @@ function markMandatoryFields() { var elementsToMark = document.querySelectorAll(mandatoryIndicator); for (var k = 0; k < elementsToMark.length; k++) { if (!elementsToMark[k].hasAttribute("disabled") && + !findAncestorByClass(elementsToMark[k], 'always-hidden') && (!hasParent(elementsToMark[k]) || partialFilled(findAncestorByClass(elementsToMark[k], 'parent')) || (hasParent(elementsToMark[k]) && diff --git a/akvo/rsr/static/scripts-src/project-editor.jsx b/akvo/rsr/static/scripts-src/project-editor.jsx index bce3e12db6..c827aaeffa 100644 --- a/akvo/rsr/static/scripts-src/project-editor.jsx +++ b/akvo/rsr/static/scripts-src/project-editor.jsx @@ -2240,6 +2240,7 @@ function markMandatoryFields() { var elementsToMark = document.querySelectorAll(mandatoryIndicator); for (var k = 0; k < elementsToMark.length; k++) { if (!elementsToMark[k].hasAttribute("disabled") && + !findAncestorByClass(elementsToMark[k], 'always-hidden') && (!hasParent(elementsToMark[k]) || partialFilled(findAncestorByClass(elementsToMark[k], 'parent')) || (hasParent(elementsToMark[k]) && diff --git a/akvo/templates/myrsr/project_editor/section_8.html b/akvo/templates/myrsr/project_editor/section_8.html index 008aba7686..cf57bea0e8 100644 --- a/akvo/templates/myrsr/project_editor/section_8.html +++ b/akvo/templates/myrsr/project_editor/section_8.html @@ -76,4 +76,4 @@
{% trans 'Humanitarian scope' %}
- \ No newline at end of file +