Project

General

Profile

RE: Ticket grouping plugin ยป redmine_issues_group-description.patch

Peter Fern, 2009-10-28 07:56

View differences:

app/controllers/issues_controller.rb
55 55
      @issues.each do |issue|
56 56
        issue.init_journal(User.current)
57 57
        issue.subject = params[:new_subject]
58
        issue.description = params[:new_description]
58 59
       
59 60
        #unsaved_issue_ids << issue.id unless
60 61
        i2 = issue.move_to(@target_project, new_tracker, params[:copy_options])
......
98 99
    end
99 100
  end
100 101
  alias_method_chain :retrieve_query, :groupby
101
end
102
end
app/views/issues/_add_subissue.rhtml
19 19
		$j("#dialog").dialog({
20 20
			bgiframe: true,
21 21
			autoOpen: false,
22
			width: 500,
23
      height: 270,
22
			width: 728,
23
			height: 490,
24 24
			modal: true,
25 25
			buttons: {
26 26
				'<%= l(:button_add) %>': function() {
......
82 82
<p><label for="new_assigned_to_id"><%=l(:field_assigned_to)%>:</label>
83 83
<%= select_tag "new_assigned_to_id", options_from_collection_for_select(@issue.assignable_users, "id", "name", @issue.assigned_to_id) %></p>
84 84

  
85
<p><label for="new_description"><%=l(:field_description)%>:</label>
86
<%= text_area_tag "new_description", @issue.description, :size => '50x6' %></p>
87

  
85 88
</div>
86 89

  
87 90
<% submit_tag l(:button_add) %>
    (1-1/1)