Link outline subsections into the course

This commit is contained in:
Brian Jacobel
2017-02-14 14:46:58 -05:00
parent f531205cd9
commit b63472520c
10 changed files with 67 additions and 40 deletions

View File

@@ -268,7 +268,16 @@
this.updatePageTitle();
sequenceLinks = this.content_container.find('a.seqnav');
sequenceLinks.click(this.goto);
this.path.text(this.el.find('.nav-item.active').data('path'));
edx.HtmlUtils.setHtml(
this.path,
edx.HtmlUtils.template($('#sequence-breadcrumbs-tpl').text())({
courseId: this.el.parent().data('course-id'),
blockId: this.id,
pathText: this.el.find('.nav-item.active').data('path')
})
);
this.sr_container.focus();
}
};