Fixing image tag to include full base path for sub-uri deployments

pull/6827/head
Gregor Schmidt 13 years ago
parent d754570811
commit 888bb442d7
  1. 2
      lib/redmine_backlogs/issue_form/fields_paragraph.rb

@ -59,7 +59,7 @@ class RedmineBacklogs::IssueForm::FieldsParagraph < RedmineBacklogs::IssueView::
field_class.new(:fixed_version) do |t|
str = t.select_tag "issue[fixed_version_id]", "<option></option>" + t.version_options_for_select(issue.assignable_versions, issue.fixed_version), { :disabled => issue.is_task? }
if t.authorize_for('versions', 'new') and not issue.is_task?
str += t.prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'),
str += t.prompt_to_remote(t.image_tag('add.png', :style => 'vertical-align: middle;'),
l(:label_version_new),
'version[name]',
{:controller => 'versions', :action => 'create', :project_id => issue.project},

Loading…
Cancel
Save