题库预览弹窗的调整

This commit is contained in:
cxt 2016-08-09 17:09:36 +08:00
parent 9594aada50
commit 0ed508a887
2 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,5 @@
$("#choose_courses_notice").html("");
<% else %>
var htmlvalue = "<%= escape_javascript(render :partial => 'users/homework_repository_detail') %>";
pop_box_new(htmlvalue,820,155);
pop_box_new(htmlvalue,820,800);
<% end %>

View File

@ -1495,7 +1495,7 @@ function pop_up_box(value,tWidth,tTop,tLeft){
// 公共弹框样式
function pop_box_new(value, Width, Height){
w = ($(window).width() - Width)/2;
h = ($(window).height() - Height)/2 - 100;
h = ($(window).height() - Height)/2;
$("#ajax-modal").html(value);
showModal('ajax-modal', Width + 'px');
$('#ajax-modal').siblings().remove();