学生评分弹出框缺少关闭按钮
This commit is contained in:
parent
b822db9995
commit
ae950cf3c0
|
@ -6,8 +6,8 @@ $('#ajax-modal').html('<%= escape_javascript(render :partial => 'courses/show_me
|
||||||
showModal('ajax-modal', '400px');
|
showModal('ajax-modal', '400px');
|
||||||
//$('#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;cursor:pointer;padding-left: 513px;'>" +
|
$('#ajax-modal').before("<span>" +
|
||||||
"<a href='javascript:void(0)' onclick='hidden_homework_score_form();'><img src='/images/bid/close.png' width='26px' height='26px' style='margin-left: -30px;' /></a></span>");
|
"<a href='javascript:void(0)' onclick='hidden_homework_score_form();'><img src='/images/bid/close.png' width='26px' height='26px' style='margin-left: 375px;' /></a></span>");
|
||||||
//$('#ajax-modal').parent().removeClass();
|
//$('#ajax-modal').parent().removeClass();
|
||||||
$('#ajax-modal').parent().css("top","30%").css("left","40%").css("position","fixed");
|
$('#ajax-modal').parent().css("top","30%").css("left","40%").css("position","fixed");
|
||||||
$('#ajax-modal').parent().addClass("new-watcher");
|
$('#ajax-modal').parent().addClass("new-watcher");
|
||||||
|
|
Loading…
Reference in New Issue