diff options
Diffstat (limited to 'app/views/documents/_form.rhtml')
-rw-r--r-- | app/views/documents/_form.rhtml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/app/views/documents/_form.rhtml b/app/views/documents/_form.rhtml index bd6e6cc7e..ee7c289f1 100644 --- a/app/views/documents/_form.rhtml +++ b/app/views/documents/_form.rhtml @@ -14,16 +14,4 @@ <!--[eoform:document]--> </div> -<% if Setting.text_formatting == 'textile' %> -<%= javascript_include_tag 'jstoolbar' %> -<script type="text/javascript"> -//<![CDATA[ -if (document.getElementById) { - if (document.getElementById('document_description')) { - var commentTb = new jsToolBar(document.getElementById('document_description')); - commentTb.draw(); - } -} -//]]> -</script> -<% end %>
\ No newline at end of file +<%= wikitoolbar_for 'document_description' %> |