Remove incorrect line in "IndexPOST" action

The navigation screen doesn't show any part other than "MenuPart".
Calling "UpdateEditorModel" on all the content items in the POST
action causes data loss (slug, title, tags, etc..) when clicking
the "Update All" button.

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-07-31 15:35:08 -07:00
parent dfc90d100a
commit cc8f19196f

View File

@@ -52,8 +52,6 @@ namespace Orchard.Core.Navigation.Controllers {
menuPart.MenuPosition = menuItemEntry.MenuItem.Position;
if (menuPart.Is<MenuItemPart>())
menuPart.As<MenuItemPart>().Url = menuItemEntry.MenuItem.Url;
_services.ContentManager.UpdateEditorModel(menuPart, this);
}
return RedirectToAction("Index");