Merge master to devel
This commit is contained in:
commit
1b7cf5a0f9
@ -73,7 +73,9 @@ module RedmineDmsf
|
||||
end
|
||||
|
||||
def view_issues_show_thumbnails(context={})
|
||||
show_thumbnails(context[:container], context[:controller])
|
||||
unless context[:options][:only_mails].present?
|
||||
show_thumbnails(context[:container], context[:controller])
|
||||
end
|
||||
end
|
||||
|
||||
def view_issues_dms_thumbnails(context={})
|
||||
|
||||
@ -177,9 +177,10 @@ module RedmineDmsf
|
||||
end
|
||||
end
|
||||
|
||||
# Apply patch
|
||||
Rails.configuration.to_prepare do
|
||||
unless EasyCrmCase.included_modules.include?(RedmineDmsf::Patches::EasyCrmCasePatch)
|
||||
EasyCrmCase.send(:include, RedmineDmsf::Patches::EasyCrmCasePatch)
|
||||
if Redmine::Plugin.installed?(:easy_crm)
|
||||
Rails.configuration.to_prepare do
|
||||
unless EasyCrmCase.included_modules.include?(RedmineDmsf::Patches::EasyCrmCasePatch)
|
||||
EasyCrmCase.send(:include, RedmineDmsf::Patches::EasyCrmCasePatch)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -112,4 +112,6 @@ module RedmineDmsf
|
||||
end
|
||||
end
|
||||
|
||||
EasyCrmCasesController.send(:prepend, RedmineDmsf::Patches::EasyCrmCasesControllerPatch)
|
||||
if Redmine::Plugin.installed?(:easy_crm)
|
||||
EasyCrmCasesController.send(:prepend, RedmineDmsf::Patches::EasyCrmCasesControllerPatch)
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user