Sha256: c2d018ad2299a9646ba67a72af5048d05fc0ff893c889eeb4ee01b00018f5f50

Contents?: true

Size: 840 Bytes

Versions: 42

Compression:

Stored size: 840 Bytes

Contents

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

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

$('.cont_conversation').validate();
<% 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

42 entries across 42 versions & 2 rubygems

Version Path
social_stream-0.11.1 base/app/views/conversations/show.js.erb
social_stream-base-0.9.16 app/views/conversations/show.js.erb
social_stream-0.11.0 base/app/views/conversations/show.js.erb
social_stream-base-0.9.15 app/views/conversations/show.js.erb
social_stream-0.10.4 base/app/views/conversations/show.js.erb
social_stream-base-0.9.14 app/views/conversations/show.js.erb
social_stream-0.10.3 base/app/views/conversations/show.js.erb
social_stream-base-0.9.13 app/views/conversations/show.js.erb
social_stream-0.10.2 base/app/views/conversations/show.js.erb
social_stream-base-0.9.12 app/views/conversations/show.js.erb
social_stream-0.10.1 base/app/views/conversations/show.js.erb
social_stream-0.10.0 base/app/views/conversations/show.js.erb
social_stream-base-0.9.11 app/views/conversations/show.js.erb
social_stream-0.9.7 base/app/views/conversations/show.js.erb
social_stream-base-0.9.10 app/views/conversations/show.js.erb
social_stream-0.9.6 base/app/views/conversations/show.js.erb
social_stream-base-0.9.9 app/views/conversations/show.js.erb
social_stream-0.9.5 base/app/views/conversations/show.js.erb
social_stream-base-0.9.8 app/views/conversations/show.js.erb
social_stream-0.9.4 base/app/views/conversations/show.js.erb