socialforge/app/views/my/save_user_avatar.js.erb

2 lines
154 B
Plaintext

$("#nh_user_tx").replaceWith('<%= image_tag(url_to_avatar(@user), :id=>'nh_user_tx',:style=>"width:216px;height:216px;",:alt=>"头像") %>');
hideModal();