socialforge/app/views/pull_requests/show.js.erb

3 lines
278 B
Plaintext
Raw Normal View History

2016-08-04 15:07:15 +08:00
<%# 详情页面和新建页面都会跳入,所以用两种局部刷新 %>
$("#pull_request_new_form").html('<%= escape_javascript(render :partial => "pull_requests/show") %>');
$("#pull_request_show").html('<%= escape_javascript(render :partial => "pull_requests/show") %>');