/// <summary>
    /// Handles manual rendering of breadcrumbs.
    /// On this page the breadcrumbs needs to be hard-coded in order to be able to access single email via link and ensure consistency of breadcrumbs.
    /// </summary>
    private void HandleBreadcrumbsScripts()
    {
        ScriptHelper.RegisterRequireJs(Page);

        ControlsHelper.RegisterClientScriptBlock(this, Page, typeof(string), "BreadcrumbsOverwriting", ScriptHelper.GetScript(@"
        cmsrequire(['CMS/EventHub'], function(hub) {
              hub.publish('OverwriteBreadcrumbs', " + IssueHelper.GetBreadcrumbsData((IssueInfo)EditedObject) + @");
        });"));
    }