mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
navigation MDL-22044 Fixed bug preventing module AJAX expansion
This commit is contained in:
parent
16d0b44022
commit
8f57314b1e
@ -1092,7 +1092,7 @@ class global_navigation extends navigation_node {
|
|||||||
$activitynode->title(get_string('modulename', $cm->modname));
|
$activitynode->title(get_string('modulename', $cm->modname));
|
||||||
$activitynode->hidden = (!$cm->visible);
|
$activitynode->hidden = (!$cm->visible);
|
||||||
if ($this->module_extends_navigation($cm->modname)) {
|
if ($this->module_extends_navigation($cm->modname)) {
|
||||||
$child->nodetype = navigation_node::NODETYPE_BRANCH;
|
$activitynode->nodetype = navigation_node::NODETYPE_BRANCH;
|
||||||
}
|
}
|
||||||
$activities[$cmid] = $activitynode;
|
$activities[$cmid] = $activitynode;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user