potential fix for #2404
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
<div id="source-info">
|
||||
<% if source.try(:available?) %>
|
||||
<p><%= link_to "Fetch source data", source_path(:format => "json", :url => source.referer_url(self)), :id => "fetch-data-bookmarklet", :style => "display: none;" %></p>
|
||||
<p><%= link_to "Fetch source data", source_path(:format => "json", :url => source.referer_url), :id => "fetch-data-bookmarklet", :style => "display: none;" %></p>
|
||||
<p><%= content_tag "span", "Loading #{source.site_name} data...", :id => "loading-data" %></p>
|
||||
<% else %>
|
||||
<p><%= link_to "Fetch source data", source_path(:format => "json"), :id => "fetch-data-manual" %></p>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
<%= form_for(@upload, :html => {:multipart => true, :class => "simple_form", :id => "form"}) do |f| %>
|
||||
<%= hidden_field_tag :normalized_url, @normalized_url %>
|
||||
<%= hidden_field_tag :referer_url, @source.try(:referer_url) %>
|
||||
|
||||
<% if CurrentUser.is_contributor? %>
|
||||
<div class="input">
|
||||
|
||||
Reference in New Issue
Block a user