summaryrefslogtreecommitdiffstats
path: root/app/views/issues/edit.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-27 12:38:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-27 12:38:29 +0000
commit70374d084e19dba21e83e8a360a62ff0168ff207 (patch)
tree8db177647094fbbd16d8a242827579d949d40d1e /app/views/issues/edit.rhtml
parentf335e943ad807de82f8ff860922d9c9aa2f3a3bc (diff)
downloadredmine-70374d084e19dba21e83e8a360a62ff0168ff207.tar.gz
redmine-70374d084e19dba21e83e8a360a62ff0168ff207.zip
Slight views refactoring
git-svn-id: http://redmine.rubyforge.org/svn/trunk@548 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/edit.rhtml')
-rw-r--r--app/views/issues/edit.rhtml14
1 files changed, 1 insertions, 13 deletions
diff --git a/app/views/issues/edit.rhtml b/app/views/issues/edit.rhtml
index 02430127d..8551bfab5 100644
--- a/app/views/issues/edit.rhtml
+++ b/app/views/issues/edit.rhtml
@@ -33,19 +33,7 @@
<%= submit_tag l(:button_save) %>
<% end %>
-<% if Setting.text_formatting == 'textile' %>
-<%= javascript_include_tag 'jstoolbar' %>
-<script type="text/javascript">
-//<![CDATA[
-if (document.getElementById) {
- if (document.getElementById('issue_description')) {
- var commentTb = new jsToolBar(document.getElementById('issue_description'));
- commentTb.draw();
- }
-}
-//]]>
-</script>
-<% end %>
+<%= wikitoolbar_for 'issue_description' %>
<% content_for :header_tags do %>
<%= javascript_include_tag 'calendar/calendar' %>