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

7 lines
387 B
Plaintext
Raw Normal View History

2015-07-09 15:27:49 +08:00
$("img[nhname='avatar_image']").attr('src',$("#nh_user_tx").attr('src'));
$('#ajax-modal').html($("#nh_tx_dialog_html").html());
showModal('ajax-modal','460px');
2015-07-10 15:01:44 +08:00
$('#ajax-modal').siblings().hide();
2015-07-09 15:27:49 +08:00
$('#ajax-modal').parent().removeClass("alert_praise");
//$('#ajax-modal').parent().css("top","").css("left","");
$('#ajax-modal').parent().addClass("alert_box");