Sha256: 4ffbfd138e72f2cc8ae15397381da6643662bb9801a50b24e1a60e5f52ecd9ad

Contents?: true

Size: 872 Bytes

Versions: 89

Compression:

Stored size: 872 Bytes

Contents

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

<%= toolbar :messages %>

$('.cont_conversation').validate({errorClass: "validation_error"});
<% unless @box.eql?'trash' %>
  $("#body").cleditor({
    width:493,
    controls:  "<%= SocialStream.cleditor_controls %>"     
  });

	var message_hash = window.location.hash.match(/^.*message_(\d+).*$/);
	if (message_hash && message_hash.length > 0){
		$.scrollTo('#message_' + message_hash[1] ,1500,{axis:'y'});
	}else{
		$.scrollTo('#message_<%= @conversation.last_message.id %>',1500,{axis:'y'});		
	}

<% else %>
	var message_hash = window.location.hash.match(/^.*message_(\d+).*$/);
	if (message_hash && message_hash.length > 0){
		$.scrollTo('#message_' + message_hash[1] ,1500,{axis:'y'});
	}else{
		$.scrollTo('#message_<%= @conversation.last_message.id %>',1500,{axis:'y'});		
	}
<% end %>

Version data entries

89 entries across 89 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/conversations/show.js.erb
social_stream-base-2.2.2 app/views/conversations/show.js.erb
social_stream-2.2.1 base/app/views/conversations/show.js.erb
social_stream-base-2.2.1 app/views/conversations/show.js.erb
social_stream-2.2.0 base/app/views/conversations/show.js.erb
social_stream-base-2.2.0 app/views/conversations/show.js.erb
social_stream-2.1.1 base/app/views/conversations/show.js.erb
social_stream-1.1.12 base/app/views/conversations/show.js.erb
social_stream-base-1.1.11 app/views/conversations/show.js.erb
social_stream-2.1.0 base/app/views/conversations/show.js.erb
social_stream-base-2.1.0 app/views/conversations/show.js.erb
social_stream-2.0.4 base/app/views/conversations/show.js.erb
social_stream-base-2.0.4 app/views/conversations/show.js.erb
social_stream-2.0.3 base/app/views/conversations/show.js.erb
social_stream-base-2.0.3 app/views/conversations/show.js.erb
social_stream-1.1.11 base/app/views/conversations/show.js.erb
social_stream-base-1.1.10 app/views/conversations/show.js.erb
social_stream-1.1.10 base/app/views/conversations/show.js.erb
social_stream-base-1.1.9 app/views/conversations/show.js.erb
social_stream-1.1.9 base/app/views/conversations/show.js.erb