diff options
author | Go MAEDA <maeda@farend.jp> | 2018-04-30 06:09:48 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-04-30 06:09:48 +0000 |
commit | 353c6571ddd49e247d285a0ce47499d35eaae916 (patch) | |
tree | 26c1a1f4de24e161765ec0ffefd8616c8bac8ace /app/views/issues/_attributes.html.erb | |
parent | c9c4a8c1535c603876c871387805ad11effacb26 (diff) | |
download | redmine-353c6571ddd49e247d285a0ce47499d35eaae916.tar.gz redmine-353c6571ddd49e247d285a0ce47499d35eaae916.zip |
Set default category assignee immediately upon category selection (#15919).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17320 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/_attributes.html.erb')
-rw-r--r-- | app/views/issues/_attributes.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_attributes.html.erb b/app/views/issues/_attributes.html.erb index 640a00e0b..3a3b5ac00 100644 --- a/app/views/issues/_attributes.html.erb +++ b/app/views/issues/_attributes.html.erb @@ -19,7 +19,7 @@ <% end %> <% if @issue.safe_attribute?('category_id') && @issue.project.issue_categories.any? %> -<p><%= f.select :category_id, (@issue.project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true, :required => @issue.required_attribute?('category_id') %> +<p><%= f.select :category_id, (@issue.project.issue_categories.collect {|c| [c.name, c.id]}), {:include_blank => true, :required => @issue.required_attribute?('category_id')}, :onchange => ("updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" if @issue.new_record?) %> <%= link_to(l(:label_issue_category_new), new_project_issue_category_path(@issue.project), :remote => true, |