not rendering backlogs fields in modal window via hook, since they are already rendered by or IssueView

pull/6827/head
Gregor Schmidt 14 years ago
parent 9bba6e3910
commit 6dd15950be
  1. 5
      lib/backlogs_hooks.rb

@ -35,9 +35,10 @@ module BacklogsPlugin
end
def view_issues_show_details_bottom(context = {})
issue = context[:issue]
return '' unless context[:issue].project.module_enabled? 'backlogs'
return '' if context[:from] == 'RedmineBacklogs::IssueView::FieldsParagraph'
return '' unless issue.project.module_enabled? 'backlogs'
issue = context[:issue]
snippet = ''

Loading…
Cancel
Save