]> source.dussan.org Git - redmine.git/commitdiff
Respect cross-project subtask setting on issue bulk edit form (#18711).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Feb 2015 09:06:49 +0000 (09:06 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Feb 2015 09:06:49 +0000 (09:06 +0000)
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13969 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/bulk_edit.html.erb

index c16f48cbc9b247e0b8110d0ccad3a6637a3f8a14..bdaaf2114436a5cb4ca6d050fb945633a5692ac3 100644 (file)
   <%= text_field_tag 'issue[parent_issue_id]', '', :size => 10, :value => @issue_params[:parent_issue_id] %>
   <label class="inline"><%= check_box_tag 'issue[parent_issue_id]', 'none', (@issue_params[:parent_issue_id] == 'none'), :id => nil, :data => {:disables => '#issue_parent_issue_id'} %><%= l(:button_clear) %></label>
 </p>
-<%= javascript_tag "observeAutocompleteField('issue_parent_issue_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project)}')" %>
+<%= javascript_tag "observeAutocompleteField('issue_parent_issue_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => Setting.cross_project_subtasks)}')" %>
 <% end %>
 
 <% if @safe_attributes.include?('start_date') %>