Skip to content

Commit

Permalink
Fixes switching of standard and flash uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Deyen committed Nov 1, 2011
1 parent 962913a commit 4b713d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/partials/_upload_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<%- end -%>
<p style="margin-top: 8px" id="choose_alternative_uploader">
<small>
<%= raw _('If you have any problems using the Flash® uploader you can switch to the %{link}') % {:link => %(<a href="#" onclick="jQuery('#choose_alternative_uploader').hide();jQuery('#alternativeUpload').show();jQuery('#SWFUpload_0').hide();" style="text-decoration: underline">%{value}</a>) % {:value => _('regular method')}} %>
<%= raw _('If you have any problems using the Flash® uploader you can switch to the %{link}') % {:link => %(<a href="#" onclick="jQuery('#choose_alternative_uploader').hide();jQuery('#alternativeUpload').show();jQuery('object.swfupload').hide();" style="text-decoration: underline">%{value}</a>) % {:value => _('regular method')}} %>
</small>
</p>
<div id="swfUploadFlashError" style="display: none">
Expand All @@ -46,7 +46,7 @@
<p>
<small>
<a href="#"
onclick="jQuery('#choose_alternative_uploader').show();jQuery('#alternativeUpload').hide();jQuery('#SWFUpload_0').show();"
onclick="jQuery('#choose_alternative_uploader').show();jQuery('#alternativeUpload').hide();jQuery('object.swfupload').show();"
style="text-decoration: underline">
<%= _('Switch to Flash® Uploader') %>
</a>
Expand Down

0 comments on commit 4b713d1

Please sign in to comment.