mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +08:00
Refactoring
--HG-- branch : 1.x extra : rebase_source : 0a3659f94fbdb3fab2185bdf26c7f9838bd4995b
This commit is contained in:
@@ -79,7 +79,7 @@ namespace Orchard.Core.Navigation.Drivers {
|
||||
var selectedPath = NavigationHelper.SetSelectedPath(menuItems, routeData);
|
||||
|
||||
dynamic menuShape = shapeHelper.Menu();
|
||||
|
||||
|
||||
if (part.Breadcrumb && selectedPath != null) {
|
||||
menuItems = selectedPath;
|
||||
foreach (var menuItem in menuItems) {
|
||||
@@ -160,9 +160,9 @@ namespace Orchard.Core.Navigation.Drivers {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
menuShape.MenuName(menuName);
|
||||
menuShape.ContentItem(menu);
|
||||
|
||||
NavigationHelper.PopulateMenu(shapeHelper, menuShape, menuShape, menuItems);
|
||||
|
||||
return shapeHelper.Parts_MenuWidget(Menu: menuShape);
|
||||
|
Reference in New Issue
Block a user