Hidden label in course content

Re: Hidden label in course content

by Dominique Palumbo -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi,

It's look like a bug of the ui.
If you refresh manualy the page (F5) the correct status are displayed.
Or if you quit the edit mode you see that all is correct as you expect.

I try to find if the bug is already signaled but it seem not.

To reproduce it. I create three sections, I hide the first one and after the second one. And the text "Hidden from students" of the first one is not displayed anymore.

Show work properly, it's hidden that cause the problem.
I test it on Moodle 4.0.1+ boost theme.

Dominique.
I think the problem is somwhere near here :
->moodle\course\amd\src\actions.js
 var defaultEditSectionHandler = function(sectionElement, actionItem, data, courseformat, sectionid)