From 5ab8e312f58e088552daf71613b6db7d235c11af Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 25 Oct 2012 13:23:11 -0400 Subject: [PATCH 1/2] Fixing description of import format --- cms/templates/import.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/templates/import.html b/cms/templates/import.html index 84e136fef9..18d9a1604d 100644 --- a/cms/templates/import.html +++ b/cms/templates/import.html @@ -14,7 +14,7 @@

Please read the documentation before attempting an import!

Importing a new course will delete all content currently associated with your course and replace it with the contents of the uploaded file.

-

File uploads must be zip files containing, at a minimum, a course.xml file.

+

File uploads must be gzipped tar files (.tar.gz or .tgz) containing, at a minimum, a course.xml file.

Please note that if your course has any problems with auto-generated url_name nodes, re-importing your course could cause the loss of student data associated with those problems.

From 3d9c92c5748b0adfb22e5fa44c089900ef8a6f18 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Fri, 26 Oct 2012 13:34:21 -0400 Subject: [PATCH 2/2] Remove references to #visibility id that was changed to .visibility-select --- cms/static/coffee/src/views/unit.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cms/static/coffee/src/views/unit.coffee b/cms/static/coffee/src/views/unit.coffee index 0270cebd47..83deb0f549 100644 --- a/cms/static/coffee/src/views/unit.coffee +++ b/cms/static/coffee/src/views/unit.coffee @@ -12,7 +12,7 @@ class CMS.Views.UnitEdit extends Backbone.View initialize: => @visibilityView = new CMS.Views.UnitEdit.Visibility( - el: @$('#visibility') + el: @$('.visibility-select') model: @model ) @@ -150,7 +150,7 @@ class CMS.Views.UnitEdit extends Backbone.View ) setVisibility: (event) -> - if @$('#visibility').val() == 'private' + if @$('.visibility-select').val() == 'private' target_url = '/unpublish_unit' else target_url = '/publish_draft'