navigation /MDL-21152 fixed regression changed topframe to frametop

This commit is contained in:
Sam Hemelryk
2009-12-23 08:56:16 +00:00
parent 4e03354235
commit e0738f5778
+1 -1
View File
@@ -433,7 +433,7 @@ class navigation_node {
$link->add_class('dimmed');
}
if (!empty($CFG->framename) && ($PAGE->pagelayout=='topframe' || $CFG->framename!='_top')) {
if (!empty($CFG->framename) && ($PAGE->pagelayout=='frametop' || $CFG->framename!='_top')) {
$breakoutaction = new breakout_of_frame_action();
$link->add_action($breakoutaction);
}