Project

General

Profile

Patches against version 0.1.6 » redmine_issues_group-description.patch

Allow adding description when creating subtask - Brian Wells, 2009-11-06 06:08

View differences:

redmine_issues_group/app/controllers/issues_controller.rb 2009-11-05 16:18:55.000000000 -0500
56 56
       
57 57
      i2 = Issue.new
58 58
      i2.subject = params[:new_subject]
59
      i2.description = params[:new_description]
59 60
      i2.project = @target_project
60 61
      i2.author = User.current
61 62
      i2.created_on = Time.now
redmine_issues_group/app/views/issues/_add_subissue.rhtml 2009-11-05 16:01:19.000000000 -0500
19 19
		$j("#dialog").dialog({
20 20
			bgiframe: true,
21 21
			autoOpen: false,
22
			width: 600,
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/4)