|
|
@ -25,13 +25,14 @@
|
|
|
|
$("#document_title").val("");
|
|
|
|
$("#document_title").val("");
|
|
|
|
org_document_description_editor.html("");
|
|
|
|
org_document_description_editor.html("");
|
|
|
|
org_document_description_editor.sync();
|
|
|
|
org_document_description_editor.sync();
|
|
|
|
$('#org_document_editor').hide(); $('#doc_title_hint').hide();
|
|
|
|
$('#org_document_editor').hide();
|
|
|
|
|
|
|
|
$('#doc_title_hint').hide();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<%= form_tag organization_org_document_comments_path(:organization_id => @organization.id), :id => 'new_org_document_form' do |f| %>
|
|
|
|
<%= form_tag organization_org_document_comments_path(:organization_id => @organization.id), :id => 'new_org_document_form' do |f| %>
|
|
|
|
<div class="resources">
|
|
|
|
<div class="resources">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<input class="postDetailInput fl" maxlength="250" name="org_document_comment[title]" id="document_title" style="resize:none;" onfocus = "$('#org_document_editor').show();" onblur="check_org_title();" placeholder="请输入文章标题" />
|
|
|
|
<input class="postDetailInput fl" maxlength="250" name="org_document_comment[title]" id="document_title" style="resize:none;" onfocus = "$('#org_document_editor').show();" placeholder="请输入文章标题" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="doc_title_hint"></div>
|
|
|
|
<div id="doc_title_hint"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|