app/assets/javascripts/s3_relay.coffee in s3_relay-0.4.0 vs app/assets/javascripts/s3_relay.coffee in s3_relay-0.4.1

- old
+ new

@@ -24,10 +24,10 @@ success: (data, status, xhr) -> privateUrl = data.private_url if privateUrl == null displayFailedUpload(progressColumn) else - fileColumn.html("<a href='#{privateUrl}'>#{filename}</a>") + fileColumn.html("<a href='#{privateUrl}' target='_blank'>#{filename}</a>") virtualAttr = "#{container.data('parentType')}[new_#{container.data('association')}_uuids]" hiddenField = "<input type='hidden' name='#{virtualAttr}[]' value='#{uuid}' />" container.append(hiddenField) publishEvent(container, "upload:success", [ uuid, filename, privateUrl ])