diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-20 23:52:45 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-20 23:52:45 +0300 |
commit | 672bd4e6ff52da0acad0a5838324ba0039ed484c (patch) | |
tree | 4bcdc9b27ddb57027d638e62060af162d4a29d61 /app/views/shared/issuable | |
parent | 8536c49f1958b08a6dc556f0cf9abd166f821669 (diff) |
Correctly sends project ID
Diffstat (limited to 'app/views/shared/issuable')
-rw-r--r-- | app/views/shared/issuable/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_form.html.haml b/app/views/shared/issuable/_form.html.haml index c014332d7f3..ff5224d7df8 100644 --- a/app/views/shared/issuable/_form.html.haml +++ b/app/views/shared/issuable/_form.html.haml @@ -90,7 +90,7 @@ = label_tag :move_to_project_id, 'Move', class: 'control-label' .col-sm-10 .issuable-form-select-holder - = hidden_field_tag :move_to_project_id, nil, class: 'js-move-dropdown', data: { placeholder: 'Select project', projects_url: autocomplete_projects_path(project_id: '1') } + = hidden_field_tag :move_to_project_id, nil, class: 'js-move-dropdown', data: { placeholder: 'Select project', projects_url: autocomplete_projects_path(project_id: @project.id) } %span{ data: { toggle: 'tooltip', placement: 'auto top' }, style: 'cursor: default', title: 'Moving an issue will copy the discussion to a different project and close it here. All participants will be notified of the new location.' } |