6 lines
407 B
Plaintext
6 lines
407 B
Plaintext
$("#homepageLeftMenuProjects").html("");
|
|
$("#homepageLeftMenuProjects").append("<ul>");
|
|
$("#homepageLeftMenuProjects").append("<%= escape_javascript(render :partial => 'layouts/org_projects',
|
|
:locals=>{:projects=>@organization.projects.reorder('created_at').uniq.limit(5),:org_id=>@organization.id,:page=> 1}) %>");
|
|
$("#homepageLeftMenuProjects").append("</ul>");
|
|
$("#homepageLeftMenuProjects").show(); |