Sha256: 70e489db5d5da29cf3292a94066502a1ebc45ee06d9059a2d2c00b5cf3d50461

Contents?: true

Size: 863 Bytes

Versions: 64

Compression:

Stored size: 863 Bytes

Contents

$("#content").html("<%= escape_javascript(render :partial => 'new') %>");

<%= toolbar :messages %>

<%= location(
  link_to(image_tag("btn/new.png", :class => "menu_icon")+t('message.other'), conversations_path,:remote => true),
  link_to(image_tag("btn/message_new.png", :class => "menu_icon")+ t('message.new'), new_message_path, :remote => true)
) %>


var recipients = $("#_recipients").fcbkcomplete({
        json_url: "<%= contacts_path(:form => true, :format => :json) %>",
	cache: true,
	filter_hide: true,
	newel: false,
	height: 6
});

  $("#body").cleditor({
    width:493,
    controls: "<%= SocialStream.cleditor_controls %>"    
  });

<% unless @recipient.nil? %>
	$("#_recipients").trigger("addItem",[{"title": "<%= @recipient.name %>", "value": "<%= @recipient.id %>"}]);
<% end %>

$(".new_message").validate({errorClass: "validation_error"});

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
social_stream-1.1.12 base/app/views/messages/new.js.erb
social_stream-base-1.1.11 app/views/messages/new.js.erb
social_stream-1.1.11 base/app/views/messages/new.js.erb
social_stream-base-1.1.10 app/views/messages/new.js.erb
social_stream-1.1.10 base/app/views/messages/new.js.erb
social_stream-base-1.1.9 app/views/messages/new.js.erb
social_stream-1.1.9 base/app/views/messages/new.js.erb
social_stream-base-1.1.8 app/views/messages/new.js.erb
social_stream-1.1.8 base/app/views/messages/new.js.erb
social_stream-base-1.1.7 app/views/messages/new.js.erb
social_stream-1.1.7 base/app/views/messages/new.js.erb
social_stream-base-1.1.6 app/views/messages/new.js.erb
social_stream-1.1.6 base/app/views/messages/new.js.erb
social_stream-base-1.1.5 app/views/messages/new.js.erb
social_stream-1.1.5 base/app/views/messages/new.js.erb
social_stream-base-1.1.4 app/views/messages/new.js.erb
social_stream-1.1.4 base/app/views/messages/new.js.erb
social_stream-1.1.3 base/app/views/messages/new.js.erb
social_stream-base-1.1.3 app/views/messages/new.js.erb
social_stream-1.1.2 base/app/views/messages/new.js.erb