2015-01-15 18:22:30 +08:00
|
|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'commit_alert',:locals => {:status => @status}) %>');
|
2015-03-25 11:06:35 +08:00
|
|
|
showModal('ajax-modal', '250px');
|
2015-01-15 18:35:27 +08:00
|
|
|
$('#ajax-modal').css('height','100px');
|
2015-01-15 17:36:30 +08:00
|
|
|
$('#ajax-modal').siblings().remove();
|
2015-01-15 18:22:30 +08:00
|
|
|
$('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
|
2015-03-25 10:21:33 +08:00
|
|
|
"<a href='javascript:' onclick='hidden_atert_form();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
2015-01-15 17:36:30 +08:00
|
|
|
$('#ajax-modal').parent().removeClass("alert_praise");
|
2015-01-15 18:22:30 +08:00
|
|
|
$('#ajax-modal').parent().css("top","").css("left","");
|
2015-01-15 17:36:30 +08:00
|
|
|
$('#ajax-modal').parent().addClass("alert_box");
|