estimancy/projestimate

View on GitHub
app/views/projects/find_use_project.js.erb

Summary

Maintainability
Test Coverage
$("#notifications").html("");

//$(".show_modules_using_attribute").html("<%#=raw j render :partial => 'find_use_attribute_modules', :object => @attribute_modules %>");
$(".modal-body-inner").html("<%=raw j render :partial => 'projects/find_use_related_projects', :object => @related_projects %>");

$("#myModalLabel").html("<%= I18n.t(:text_finduse_project, :value => @project.title) %>");

$("#edit_component").modal({
    keyboard: false,
    backdrop: "static"
});

$("#notifications").html("<%= j(render 'layouts/notifications') %>");