Skip to content

Commit

Permalink
Update page name in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
fschultz committed Jan 9, 2016
1 parent 8fa40dc commit c95da89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions KalikoCMS.Admin/Admin/Content/EditPage.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ private EditablePage SaveDataForNewPage() {
var editablePage = parent.CreateChildPage(_pageTypeId);
SavePropertiesForPage(editablePage);
_pageId = editablePage.PageId;
_pageName = editablePage.PageName;
OldPageUrlSegment.Value = editablePage.UrlSegment;

return editablePage;
Expand All @@ -283,6 +284,7 @@ private EditablePage SaveDataForExistingPage() {
var editablePage = cmsPage.MakeEditable();
SavePropertiesForPage(editablePage);
OldPageUrlSegment.Value = editablePage.UrlSegment;
_pageName = editablePage.PageName;

return editablePage;
}
Expand Down

0 comments on commit c95da89

Please sign in to comment.