$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'organizations/org_project_issue', :locals => {:activity => @issue,:user_activity_id =>@user_activity_id}) %>");

sd_create_editor_from_data(<%= @user_activity_id%>,"","100%", "UserActivity");