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

3 lines
307 B
Plaintext
Raw Normal View History

2015-09-11 11:46:12 +08:00
$("#nh_user_tx").replaceWith('<%= image_tag(url_to_avatar(@user), :id=>'nh_user_tx',:style=>"width:78px;height:78px;overflow:hidden",:alt=>"头像") %>');
2015-08-19 17:14:19 +08:00
$("#nh_user_logo").replaceWith('<%= image_tag(url_to_avatar(@user), :id=>'nh_user_logo',:width =>"40",:height => "40",:alt=>"头像") %>');
2015-07-09 15:27:49 +08:00
hideModal();