# HG changeset patch # User Chris Cannam # Date 1357816275 0 # Node ID 66b9ab6cf9d71ef7c2197c339fbf84f181b8a424 # Parent 51d7f3e0655689e4ac2a38b5785197e5abb7dfa9 We don't use ZeroClipboard, just scrub this stuff (image_path with 2 args doesn't appear to work any more) diff -r 51d7f3e06556 -r 66b9ab6cf9d7 plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.html.erb --- a/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.html.erb Thu Jan 10 11:01:47 2013 +0000 +++ b/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.html.erb Thu Jan 10 11:11:15 2013 +0000 @@ -12,11 +12,6 @@ <% end -%> <%= text_field_tag :checkout_url, h(default_protocol.full_command(checkout_path)), :readonly => true %> - <%- if Setting.checkout_use_zero_clipboard? %> - - <% end -%>

<% if User.current.logged? %> @@ -33,8 +28,8 @@ <% javascript_tag do %> var checkout_access = $H({<%= protocols.inject([]){|r,p| r << "'checkout_protocol_#{p.protocol.to_s.underscore}': '#{l(p.access_label(User.current))}'"}.join(', ') %>}); var checkout_commands = $H({<%= protocols.inject([]){|r,p| r << "'checkout_protocol_#{p.protocol.to_s.underscore}': '#{escape_javascript(p.full_command(checkout_path))}'"}.join(', ') %>}); - <%- if Setting.checkout_use_zero_clipboard? %>ZeroClipboard.setMoviePath( '<%= image_path('ZeroClipboard.swf', :plugin => 'redmine_checkout') %>' );<% end %> <% end %> + <% end%> <% if repository.is_external? %> @@ -48,5 +43,4 @@ <% content_for :header_tags do %> <%= stylesheet_link_tag 'checkout', :plugin => 'redmine_checkout' %> <%= javascript_include_tag 'checkout', :plugin => 'redmine_checkout' %> - <%= (javascript_include_tag 'ZeroClipboard', :plugin => 'redmine_checkout') if Setting.checkout_use_zero_clipboard? %> <% end %>