2014-12-02 16:21:36 +08:00
|
|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'show') %>');
|
2014-11-04 14:23:24 +08:00
|
|
|
showModal('ajax-modal', '513px');
|
2014-10-31 09:48:34 +08:00
|
|
|
$('#ajax-modal').css('height','569px');
|
2014-11-03 18:54:34 +08:00
|
|
|
$('#ajax-modal').siblings().remove();
|
2014-11-06 16:05:12 +08:00
|
|
|
$('#ajax-modal').before("<span style='float: right;cursor:pointer;padding-left: 513px;'>" +
|
2015-05-06 15:47:02 +08:00
|
|
|
"<a href='javascript:void(0)' onclick='hidden_homework_atert_form();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
2014-12-05 10:20:37 +08:00
|
|
|
$('#ajax-modal').parent().removeClass("alert_praise");
|
2014-11-04 14:23:24 +08:00
|
|
|
$('#ajax-modal').parent().css("top","").css("left","");
|
|
|
|
$('#ajax-modal').parent().addClass("alert_box");
|
2014-11-02 12:58:09 +08:00
|
|
|
|