you can now mention in the bookmarklet

This commit is contained in:
maxwell 2011-03-29 13:55:14 -07:00
parent 98820c0866
commit bbe5f56292
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ class StatusMessagesController < ApplicationController
def bookmarklet def bookmarklet
@aspects = current_user.aspects @aspects = current_user.aspects
@selected_contacts = @aspects.map { |aspect| aspect.contacts }.flatten.uniq
@aspect_ids = @aspects.map{|x| x.id} @aspect_ids = @aspects.map{|x| x.id}
render :layout => nil render :layout => nil
end end

View file

@ -31,6 +31,7 @@
}); });
#new_status_message_pane #new_status_message_pane
= hidden_field_tag :contact_json, @selected_contacts.map{|contact| contact.person}.to_json
.span-15.last .span-15.last
#facebox_header #facebox_header
%h4 %h4