socialforge/app/views/organizations/join_course_menu.js.erb

12 lines
534 B
Plaintext
Raw Normal View History

2015-11-26 16:29:50 +08:00
$('#topnav_course_menu').hide();
2015-12-07 12:53:51 +08:00
2015-11-26 16:29:50 +08:00
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'join_course_menu', :locals => {:organization_id => @organization.id}) %>');
2015-12-07 12:53:51 +08:00
showModal('ajax-modal', '320px');
$('#ajax-modal').siblings().hide();
$('#ajax-modal').before(
2015-12-18 14:30:25 +08:00
"<a href='javascript:' onclick='hideModal();' class='resourceClose' style='margin-left: 300px;'></a>");
2015-12-07 12:53:51 +08:00
//$('#ajax-modal').css('position','absolute')
$('#ajax-modal').css("top","").css("left","");
$('#ajax-modal').parent().addClass("resourceSharePopup");