mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
[Fixes #5616] Revert "Using master content item to create translations"
This reverts commit fa09e2e83a
.
This commit is contained in:
@@ -53,10 +53,7 @@ namespace Orchard.Localization.Controllers {
|
||||
var contentItemTranslation = _contentManager.New<LocalizationPart>(masterContentItem.ContentType);
|
||||
contentItemTranslation.MasterContentItem = masterContentItem;
|
||||
|
||||
// build the editor using the master content item so that
|
||||
// the form is pre-populated with the original values
|
||||
|
||||
var content = _contentManager.BuildEditor(masterContentItem);
|
||||
var content = _contentManager.BuildEditor(contentItemTranslation);
|
||||
|
||||
return View(content);
|
||||
}
|
||||
|
Reference in New Issue
Block a user