parent
316c407a87
commit
e7a1e9b325
@ -1,9 +1,11 @@
|
|||||||
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'show',:locals => {:comprehensive_evaluation => @comprehensive_evaluation,:homework => @homework, :teaher_score => @teaher_score}) %>');
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'show',:locals => {:comprehensive_evaluation => @comprehensive_evaluation,:homework => @homework, :teaher_score => @teaher_score}) %>');
|
||||||
showModal('ajax-modal', '503px');
|
showModal('ajax-modal', '513px');
|
||||||
$('#ajax-modal').css('height','569px');
|
$('#ajax-modal').css('height','569px');
|
||||||
$('#ajax-modal').siblings().remove();
|
$('#ajax-modal').siblings().remove();
|
||||||
$('#ajax-modal').before("<span style='float: right;padding-left: 455px;cursor:pointer;'>" +
|
$('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
|
||||||
"<a href='#' onclick='hidden_homework_atert_form("+
|
"<a href='#' onclick='hidden_homework_atert_form("+
|
||||||
<%= @cur_page%> + "," + <%= @cur_type%> +
|
<%= @cur_page%> + "," + <%= @cur_type%> +
|
||||||
");'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
");'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
||||||
|
$('#ajax-modal').parent().css("top","").css("left","");
|
||||||
|
$('#ajax-modal').parent().addClass("alert_box");
|
||||||
|
|
||||||
|
Loading…
Reference in new issue