From e7a937fb167e82ccedb663500ccb18bc1446ffa5 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Thu, 23 May 2013 10:51:05 -0400 Subject: [PATCH] Always display chapter close button --- cms/templates/textbooks.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cms/templates/textbooks.html b/cms/templates/textbooks.html index 08686de718..d4aeb3ac5d 100644 --- a/cms/templates/textbooks.html +++ b/cms/templates/textbooks.html @@ -35,7 +35,7 @@

<%= gettext("provide the path for a file or asset already added to this course") %>

"> - <% if (obj.close) { %>close-button<% } %> + close-button @@ -116,8 +116,7 @@ CMS.Views.ChapterEdit = Backbone.View.extend({ this.$el.html(this.template({ name: this.model.escape('name'), asset_path: this.model.escape('asset_path'), - order: this.model.get('order'), - close: true + order: this.model.get('order') })); return this; },