Sha256: 646abe8b864a568bf472032819c109fc314cacbd1f18770891e578bccada7bc4

Contents?: true

Size: 872 Bytes

Versions: 10

Compression:

Stored size: 872 Bytes

Contents

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

<%= toolbar :option => :messages %>

$('.cont_conversation').validate({errorClass: "validation_error"});
<% unless @box.eql?'trash' %>
  $("#body").cleditor({
    width:493,
    controls:  "<%= t('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

10 entries across 10 versions & 2 rubygems

Version Path
social_stream-0.11.7 base/app/views/conversations/show.js.erb
social_stream-base-0.9.21 app/views/conversations/show.js.erb
social_stream-0.11.6 base/app/views/conversations/show.js.erb
social_stream-base-0.9.20 app/views/conversations/show.js.erb
social_stream-0.11.5 base/app/views/conversations/show.js.erb
social_stream-0.11.4 base/app/views/conversations/show.js.erb
social_stream-0.11.3 base/app/views/conversations/show.js.erb
social_stream-base-0.9.19 app/views/conversations/show.js.erb
social_stream-0.11.2 base/app/views/conversations/show.js.erb
social_stream-base-0.9.18 app/views/conversations/show.js.erb