弹出“加入课程”对话框后隐藏"加入/新建课程"的菜单

This commit is contained in:
cxt 2015-10-28 10:30:31 +08:00
parent 86354028ed
commit bd350536eb
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
$('#topnav_course_menu').hide();
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'join_private_course') %>'); $('#ajax-modal').html('<%= escape_javascript(render :partial => 'join_private_course') %>');
showModal('ajax-modal', '540px'); showModal('ajax-modal', '540px');
$('#ajax-modal').css('height','390px'); $('#ajax-modal').css('height','390px');