summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-07 09:06:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-07 09:06:49 +0000
commit86a329eb8b1c152562992d925174ffdf7e7c541d (patch)
tree11378509c9f132e95da98764e3ec5b70a722f907 /app
parent84d8453cf03e623f5df24bd55ffbeadb521a108b (diff)
downloadredmine-86a329eb8b1c152562992d925174ffdf7e7c541d.tar.gz
redmine-86a329eb8b1c152562992d925174ffdf7e7c541d.zip
Respect cross-project subtask setting on issue bulk edit form (#18711).
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13969 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/bulk_edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/bulk_edit.html.erb b/app/views/issues/bulk_edit.html.erb
index c16f48cbc..bdaaf2114 100644
--- a/app/views/issues/bulk_edit.html.erb
+++ b/app/views/issues/bulk_edit.html.erb
@@ -140,7 +140,7 @@
<%= 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') %>