Missing back_url
This commit is contained in:
parent
d866adf96d
commit
c309350a9d
@ -275,7 +275,7 @@ module RedmineDmsf
|
|||||||
dmsf_file.project)) || (!link &&
|
dmsf_file.project)) || (!link &&
|
||||||
User.current.allowed_to?(:file_delete, dmsf_file.project)))
|
User.current.allowed_to?(:file_delete, dmsf_file.project)))
|
||||||
html << link_to('',
|
html << link_to('',
|
||||||
link ? dmsf_link_path(link, commit: 'yes') : dmsf_file_path(id: dmsf_file, commit: 'yes'),
|
link ? dmsf_link_path(link, commit: 'yes', back_url: issue_path(issue)) : dmsf_file_path(id: dmsf_file, commit: 'yes', back_url: issue_path(issue)),
|
||||||
data: { confirm: l(:text_are_you_sure) },
|
data: { confirm: l(:text_are_you_sure) },
|
||||||
method: :delete,
|
method: :delete,
|
||||||
title: l(:button_delete),
|
title: l(:button_delete),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user