Slight views refactoring
git-svn-id: http://redmine.rubyforge.org/svn/trunk@548 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
f335e943ad
commit
70374d084e
7 files changed
+7
-59
No files matched your search
@@ -5,16 +5,4 @@
|
||||
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
|
||||
</div>
|
||||
|
||||
<% if Setting.text_formatting == 'textile' %>
|
||||
<%= javascript_include_tag 'jstoolbar' %>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
if (document.getElementById) {
|
||||
if (document.getElementById('news_description')) {
|
||||
var commentTb = new jsToolBar(document.getElementById('news_description'));
|
||||
commentTb.draw();
|
||||
}
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
<% end %>
|
||||
<%= wikitoolbar_for 'news_description' %>
|
||||
Reference in new issue
Block a user