app/views/activities/_new.html.erb in social_stream-base-0.14.2 vs app/views/activities/_new.html.erb in social_stream-base-0.14.3
- old
+ new
@@ -23,10 +23,10 @@
</div>
<div id="securities">
<% if current_subject == receiver %>
<%= javascript_tag do %>
- var relation_public = <%= receiver.relation_public.id %>;
+ var relation_public = <%= Relation::Public.instance.id %>;
var public_selected = false;
var relation_options = <%= escape_javascript(current_subject.activity_relations(receiver).sort.map{ |r| r.id }.to_json) %>;
var relation_public_pos = 0;
for(id in relation_options){
if(relation_options[id]==relation_public){