Commit e7a937fb by David Baumgold

Always display chapter close button

parent a84f66cd
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<p class="help_text"><%= gettext("provide the path for a file or asset already added to this course") %></p> <p class="help_text"><%= gettext("provide the path for a file or asset already added to this course") %></p>
</div> </div>
<input type="button" value="<%= gettext("Upload Asset") %>"> <input type="button" value="<%= gettext("Upload Asset") %>">
<% if (obj.close) { %><a class="action-close">close-button</a><% } %> <a class="action-close">close-button</a>
</li> </li>
</script> </script>
</%text> </%text>
...@@ -116,8 +116,7 @@ CMS.Views.ChapterEdit = Backbone.View.extend({ ...@@ -116,8 +116,7 @@ CMS.Views.ChapterEdit = Backbone.View.extend({
this.$el.html(this.template({ this.$el.html(this.template({
name: this.model.escape('name'), name: this.model.escape('name'),
asset_path: this.model.escape('asset_path'), asset_path: this.model.escape('asset_path'),
order: this.model.get('order'), order: this.model.get('order')
close: true
})); }));
return this; return this;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment