Skip to content

Commit

Permalink
SAK-29301 - Custom title applied on a per tool basis on Home pages in…
Browse files Browse the repository at this point in the history
…stead of customTitle page property.
  • Loading branch information
danielmerino committed Aug 14, 2015
1 parent 2631952 commit efcf62e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,8 @@ else if (title.length() > MAX_TITLE_LENGTH)
{
Site site = SiteService.getSite(toolConfig.getSiteId());
SitePage page = site.getPage(toolConfig.getPageId());
page.setTitleCustom(true);
if (page.isHomePage()) page.setHomeToolsTitleCustom(placement.getId());
else page.setTitleCustom(true);

// for web content tool, if it is a site page tool, and the only tool on the page, update the page title / popup.
if (toolConfig != null && ! SPECIAL_WORKSITE.equals(special) && ! SPECIAL_WORKSPACE.equals(special) )
Expand Down

0 comments on commit efcf62e

Please sign in to comment.