2015-10-30 11:51:09 +08:00
|
|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'course_outlines_list',:locals => {:articles=>@blog_articles,:course=>@course,:show_page=>@is_in_show_outline_page}) %>');
|
2015-10-28 15:54:27 +08:00
|
|
|
showModal('ajax-modal', '300px');
|
2015-10-29 09:07:26 +08:00
|
|
|
//$('#ajax-modal').css('height','250px');
|
|
|
|
$('#ajax-modal').css('padding-top','0px');
|
2015-10-28 15:54:27 +08:00
|
|
|
$('#ajax-modal').siblings().remove();
|
2015-10-29 09:07:26 +08:00
|
|
|
$('#ajax-modal').before(' <a href="javascript:void(0);" onclick="hideModal()" class="resourceClose" style="margin-left: 285px"></a>');
|
|
|
|
$('#ajax-modal').parent().css("top","30%").css("left","50%");
|
2015-10-28 15:54:27 +08:00
|
|
|
$('#ajax-modal').parent().addClass("courseOutlinePopup");
|
2016-06-21 15:17:24 +08:00
|
|
|
$('#ajax-modal').parent().removeClass("copyCoursePopup");
|
2015-10-30 11:51:09 +08:00
|
|
|
$('#ajax-modal').css("padding-left","16px")//.css("padding-bottom","16px");
|