Skip to content
Snippets Groups Projects
Commit 3d9c92c5 authored by Calen Pennington's avatar Calen Pennington
Browse files

Remove references to #visibility id that was changed to .visibility-select

parent 55011470
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment