修改作业详细信息弹出框js关闭窗口以及弹出框关闭按钮样式
This commit is contained in:
parent
e2897b3d1a
commit
a4b14c3a53
|
@ -40,10 +40,9 @@
|
|||
<% end %>
|
||||
}
|
||||
|
||||
function hiddent_alert_model()
|
||||
{
|
||||
hideModal($('#popbox02'));
|
||||
}
|
||||
function hiddent_alert_model(){hideModal($('#popbox02'));}
|
||||
|
||||
function hidden_homework_atert_form(){hideModal($("#popbox"));}
|
||||
</script>
|
||||
</div>
|
||||
<div id='bidding_project_list'>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'show',:locals => {:comprehensive_evaluation => @comprehensive_evaluation,:homework => @homework, :teaher_score => @teaher_score,:can_anonymous_comments => true}) %>');
|
||||
showModal('ajax-modal', '503px');
|
||||
$('#ajax-modal').css('height','569px');
|
||||
$('#ajax-modal').siblings().remove();
|
||||
$('#ajax-modal').before("<span style='float: right;padding-left: 455px;cursor:pointer;'>" +
|
||||
"<a href='#' onclick='hidden_homework_atert_form();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
||||
|
||||
|
|
Loading…
Reference in New Issue