commit
This commit is contained in:
parent
4adfec5640
commit
1d8c2d2a3a
|
@ -1,10 +1,11 @@
|
|||
<script src="/jquery.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.onready = function()
|
||||
{
|
||||
$(document).ready(function(){
|
||||
$("#issue_project_id").css("width","100%");
|
||||
$("#issue_project_id").css("overflow ","hidden");
|
||||
$("#issue_description").css("margin-left ","80px");
|
||||
//issue_project_id
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
@ -65,11 +66,10 @@
|
|||
<%= link_to_function image_tag('edit.png'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %>
|
||||
<%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %>
|
||||
<%= f.text_area :description,
|
||||
|
||||
:rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
|
||||
:accesskey => accesskey(:edit),
|
||||
:class => "w583",
|
||||
:no_label => true %>
|
||||
:rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
|
||||
:accesskey => accesskey(:edit),
|
||||
:class => "w583",
|
||||
:no_label => true %>
|
||||
<% end %>
|
||||
|
||||
<%= wikitoolbar_for 'issue_description' %>
|
||||
|
|
Loading…
Reference in New Issue