Skip to content

Commit

Permalink
Merge pull request #30 from jberthoux/master
Browse files Browse the repository at this point in the history
Hide "create site" menu from faceted search page
  • Loading branch information
jpotts committed Dec 28, 2016
2 parents 691162c + 665ac43 commit cb1c1fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
<targetPackageRoot>org.alfresco.share.header</targetPackageRoot>
<sourcePackageRoot>com.ecmarchitect.share.header</sourcePackageRoot>
</customization>
<customization>
<targetPackageRoot>org.alfresco.share.pages</targetPackageRoot>
<sourcePackageRoot>com.ecmarchitect.share.pages</sourcePackageRoot>
</customization>
</customizations>
</module>
</modules>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var sitesMenu = widgetUtils.findObject(model.jsonModel, "id", "HEADER_SITES_MENU");
if (sitesMenu) {
sitesMenu.config.showCreateSite = false;
}

0 comments on commit cb1c1fa

Please sign in to comment.