We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no lightbox eye in the right siede of a file attachment in files Tab. When i click the attachment it is getting downloaded.
Redmine 1.2.1
This is my /redmine_lightbox/lib/hookscode/view_layouts_base_html_head_hook.rb
module RedmineLightBox module Hooks class ViewLayoutsBaseHtmlHeadHook < Redmine::Hook::ViewListener def view_layouts_base_html_head(context={}) if context[:controller] && ( context[:controller].is_a?(IssuesController) || context[:controller].is_a?(WikiController) || context[:controller].is_a?(DocumentsController) || context[:controller].is_a?(FilesController) || context[:controller].is_a?(BoardsController) || # Hinzugefügt am 23.09.2011: Ticket #4274 context[:controller].is_a?(MessagesController)) return stylesheet_link_tag("jquery.fancybox-1.3.4.css", :plugin => "redmine_lightbox", :media => "screen") + stylesheet_link_tag("lightbox.css", :plugin => "redmine_lightbox", :media => "screen") + javascript_include_tag('//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js') + javascript_tag('jQuery.noConflict();') + javascript_include_tag('jquery.fancybox-1.3.4.pack.js', :plugin => 'redmine_lightbox') + javascript_include_tag('jquery.easing-1.3.pack.js', :plugin => 'redmine_lightbox') + javascript_include_tag('lightbox.js', :plugin => 'redmine_lightbox') else return '' end end end end end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is no lightbox eye in the right siede of a file attachment in files Tab. When i click the attachment it is getting downloaded.
Redmine 1.2.1
This is my /redmine_lightbox/lib/hookscode/view_layouts_base_html_head_hook.rb
module RedmineLightBox
module Hooks
class ViewLayoutsBaseHtmlHeadHook < Redmine::Hook::ViewListener
def view_layouts_base_html_head(context={})
if context[:controller] && ( context[:controller].is_a?(IssuesController) ||
context[:controller].is_a?(WikiController) ||
context[:controller].is_a?(DocumentsController) ||
context[:controller].is_a?(FilesController) ||
context[:controller].is_a?(BoardsController) ||
# Hinzugefügt am 23.09.2011: Ticket #4274
context[:controller].is_a?(MessagesController))
return stylesheet_link_tag("jquery.fancybox-1.3.4.css", :plugin => "redmine_lightbox", :media => "screen") +
stylesheet_link_tag("lightbox.css", :plugin => "redmine_lightbox", :media => "screen") +
javascript_include_tag('//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js') +
javascript_tag('jQuery.noConflict();') +
javascript_include_tag('jquery.fancybox-1.3.4.pack.js', :plugin => 'redmine_lightbox') +
javascript_include_tag('jquery.easing-1.3.pack.js', :plugin => 'redmine_lightbox') +
javascript_include_tag('lightbox.js', :plugin => 'redmine_lightbox')
else
return ''
end
end
end
end
end
The text was updated successfully, but these errors were encountered: