bokchoy tests for move xblocks
This commit is contained in:
committed by
Mushtaq Ali
parent
485ffb1b68
commit
8a1ec3e690
@@ -13,10 +13,6 @@ function($, Backbone, _, gettext, HtmlUtils, StringUtils, MoveXBlockBreadcrumbVi
|
||||
var MoveXBlockBreadcrumb = Backbone.View.extend({
|
||||
el: '.breadcrumb-container',
|
||||
|
||||
defaultRenderOptions: {
|
||||
breadcrumbs: ['Course Outline']
|
||||
},
|
||||
|
||||
events: {
|
||||
'click .parent-nav-button': 'handleBreadcrumbButtonPress'
|
||||
},
|
||||
@@ -29,7 +25,7 @@ function($, Backbone, _, gettext, HtmlUtils, StringUtils, MoveXBlockBreadcrumbVi
|
||||
render: function(options) {
|
||||
HtmlUtils.setHtml(
|
||||
this.$el,
|
||||
this.template(_.extend({}, this.defaultRenderOptions, options))
|
||||
this.template(options)
|
||||
);
|
||||
Backbone.trigger('move:breadcrumbRendered');
|
||||
return this;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<%- categoryText %>:
|
||||
</span>
|
||||
</div>
|
||||
<ul class="xblock-items-container">
|
||||
<ul class="xblock-items-container" data-items-category="<%- XBlocksCategory %>">
|
||||
<% for (var i = 0; i < xblocks.length; i++) {
|
||||
var xblock = xblocks[i];
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user