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' 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.