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

5 lines
107 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
var imgSpan = $('#avatar_image');
imgSpan.attr({"src":'<%= @urlfile.to_s << "?" << Time.now.to_s%>'});