socialforge/app/views/avatar/upload.js.erb

5 lines
111 B
Plaintext

var imgSpan = jQuery('#avatar_image');
imgSpan.attr({"src":'<%= "#{@urlfile.to_s}?#{Time.now.to_i}" %>'});