2014-10-23 11:30:34 +08:00
|
|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'join_private_course') %>');
|
2015-06-26 14:46:37 +08:00
|
|
|
showModal('ajax-modal', '540px');
|
2015-10-14 11:34:23 +08:00
|
|
|
$('#ajax-modal').css('height','390px');
|
2015-07-10 15:01:44 +08:00
|
|
|
//$('#ajax-modal').siblings().remove();
|
|
|
|
$('#ajax-modal').siblings().hide();
|
2014-12-29 10:42:48 +08:00
|
|
|
$('#ajax-modal').before("<span style='float: right;cursor:pointer;padding-left: 513px;'>" +
|
2015-03-25 10:21:33 +08:00
|
|
|
"<a href='javascript:' onclick='hidden_join_course_form();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
2014-12-29 10:42:48 +08:00
|
|
|
$('#ajax-modal').parent().removeClass("alert_praise");
|
|
|
|
$('#ajax-modal').parent().css("top","").css("left","");
|
|
|
|
$('#ajax-modal').parent().addClass("alert_box");
|