anchor.diff:  obj.local_copy=1 unless obj.nil?
   asset_name = text_for_resource upload_field
   new_version ||= false
  -
   -%>
   
   <%
  
positive.code: </div>
  
  <script type="text/javascript">
  	from_file_selected();
  </script>
negative.code:      obj.data_url=params[upload_field.to_sym][:data_url] if params[upload_field.to_sym][:data_url]
       obj.original_filename = params[upload_field.to_sym][:original_filename] if params[upload_field.to_sym][:original_filename]
     end
  
     upload_display=obj.data_url.blank? ? "block" : "none"
     from_url_display=upload_display=="block" ? "none" : "block"
  
  -%>
  
  