一级目录列表引起的问题

This commit is contained in:
huang 2016-05-05 20:19:39 +08:00
parent d0db711449
commit c400b44230
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<% @documents.each do |document| %>
<script>
$(function() {
sd_create_editor_from_data(<%= OrgActivity.where("org_act_type='SubDocumentComment'and org_act_id=?", document.id).first.id %>, null, "100%", "OrgActivity");
sd_create_editor_from_data(<%= OrgActivity.where("org_act_type='OrgDocumentComment'and org_act_id=?", document.id).first.id %>, null, "100%", "OrgActivity");
});
</script>
<%= render :partial => 'organizations/show_org_document', :locals => {:document => document, :act => OrgActivity.where("org_act_type='OrgDocumentComment'and org_act_id=?", document.id).first, :flag => 0} %>