gitlabhq/app/views/commits/show.js.haml
Dmitriy Zaporozhets d378468794 v1.0
2011-10-13 04:00:00 +03:00

7 lines
261 B
Plaintext

:plain
$("#side-commit-preview").remove();
var side = $("<div id='side-commit-preview'></div>");
side.html("#{escape_javascript(render "commits/show")}");
$("##{dom_id(@project)}").parent().append(side);
$("##{dom_id(@project)}").addClass("span-14");