My courses in navigation block automatically expand

My courses in navigation block automatically expand

by Phuong Hoang -
Number of replies: 1

Hi guys,

Upgrading moodle 3.2, I find that My courses in navigation block automatically expands. I try to change the settings but I fail. 

- In Frontpage


- In courses:


I'd My courses only expand on click. Can someone help me get it?

Thanks a lot in advance,

Average of ratings: -
In reply to Phuong Hoang

Re: My courses in navigation block automatically expand

by Phuong Hoang -

I got it. I find a solution here: https://tracker.moodle.org/browse/MDL-34839

- In naviggationlib.php, find: $this->rootnodes['mycourses']->forceopen = true;

- Replace: true = false. "My courses" in navigation block collapses on load, and every thing works normally. Hope it help someone in need.

Average of ratings: Useful (1)