socialforge/app/views/bids/alert_anonymous_comment.js.erb

8 lines
581 B
Plaintext
Raw Normal View History

$('#ajax-modal').html('<%= escape_javascript(render :partial => 'alert_anonyoms', locals: { bid: @bid, totle_size:@totle_size, cur_size:@cur_size, percent:@percent}) %>');
2014-11-07 10:37:10 +08:00
showModal('ajax-modal', '500px');
$('#ajax-modal').css('height','180px');
$('#ajax-modal').siblings().remove();
2014-11-07 10:37:10 +08:00
$('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
"<a href='#' onclick='clickCanel();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
$('#ajax-modal').parent().css("top","").css("left","");
2014-11-07 10:37:10 +08:00
$('#ajax-modal').parent().addClass("anonymos");