|
|
|
@ -99,7 +99,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
|
$("#activity_description_<%= reply.id %> p,#activity_description__<%= reply.id %> span,#activity_description_<%= reply.id %> em").each(function(){
|
|
|
|
|
$("#activity_description_<%= reply.id %> p,#activity_description_<%= reply.id %> span,#activity_description_<%= reply.id %> em").each(function(){
|
|
|
|
|
var postContent = $(this).html();
|
|
|
|
|
postContent = postContent.replace(/ /g," ");
|
|
|
|
|
postContent= postContent.replace(/ {2}/g," ");
|
|
|
|
@ -107,6 +107,7 @@
|
|
|
|
|
postContent=postContent.replace(/ /g," ");
|
|
|
|
|
$(this).html(postContent);
|
|
|
|
|
});
|
|
|
|
|
autoUrl('activity_description_<%= reply.id %>');
|
|
|
|
|
description_show_hide(<%= reply.id %>);
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
@ -147,6 +148,7 @@
|
|
|
|
|
postContent=postContent.replace(/ /g," ");
|
|
|
|
|
$(this).html(postContent);
|
|
|
|
|
});
|
|
|
|
|
autoUrl('activity_description_<%= @memo.id %>');
|
|
|
|
|
description_show_hide(<%= @memo.id %>);
|
|
|
|
|
});
|
|
|
|
|
</script>
|