[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /interface lonmenu.pm
raeburn
raeburn@source.lon-capa.org
Fri, 07 Jan 2011 22:21:02 -0000
raeburn Fri Jan 7 22:21:02 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/interface lonmenu.pm
Log:
- Backport more of 1.325.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.315.2.7 loncom/interface/lonmenu.pm:1.315.2.8
--- loncom/interface/lonmenu.pm:1.315.2.7 Fri Jan 7 21:32:52 2011
+++ loncom/interface/lonmenu.pm Fri Jan 7 22:21:02 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.315.2.7 2011/01/07 21:32:52 raeburn Exp $
+# $Id: lonmenu.pm,v 1.315.2.8 2011/01/07 22:21:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -258,9 +258,7 @@
$menu .= '<li>'.&Apache::loncommon::top_nav_help('Help').'</li>';
}
} else {
- my @items = @{$menuitem};
- $items[0] = 'javascript:'.$menuitem->[0].';';
- $menu .= &prep_menuitem(\@items);
+ $menu .= &prep_menuitem($menuitem);
}
}