修改作业详细信息弹出框js关闭窗口以及弹出框关闭按钮样式

This commit is contained in:
sw 2014-11-03 18:54:34 +08:00
parent e2897b3d1a
commit a4b14c3a53
2 changed files with 6 additions and 4 deletions

View File

@ -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'>

View File

@ -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>");