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

5 lines
107 B
Plaintext

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