2015-12-18 14:30:25 +08:00
|
|
|
//$("#homepageLeftMenuCourses").html("");
|
|
|
|
//$("#homepageLeftMenuCourses").append("<ul>");
|
|
|
|
//$("#homepageLeftMenuCourses").append("<%#= escape_javascript(render :partial => 'layouts/org_courses',
|
2015-11-27 16:27:23 +08:00
|
|
|
:locals=>{:courses=>@organization.courses.reorder('created_at').uniq.limit(5),:org_id=>@organization.id,:page=> 1}) %>");
|
2015-12-18 14:30:25 +08:00
|
|
|
//$("#homepageLeftMenuCourses").append("</ul>");
|
|
|
|
//$("#homepageLeftMenuCourses").show();
|
|
|
|
location.reload();
|