Description:
fix refresh button on submission edit page
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r699:dd5555537101 - - 2 files changed: 2 inserted, 1 deleted

@@ -32,6 +32,7
32 32 Latest Submission Status
33 33 = link_to "Refresh",get_latest_submission_status_submissions_path(@submission.user,@problem), class: "btn btn-default btn-sm", remote: true if @submission
34 34 .panel-body
35 + %div#latest_status
35 36 - if @submission
36 37 = render :partial => 'submission_short',
37 38 :locals => {submission: @submission, problem_name: @problem.name, problem_id: @problem.id }
@@ -1,2 +1,2
1 1 :plain
2 - $("#latest_status").html("#{j render({partial: 'submission_short', locals: {submission: @submission, problem_name: @problem.name}})}")
2 + $("#latest_status").html("#{j render({partial: 'submission_short', locals: {submission: @submission, problem_name: @problem.name, problem_id: @problem.id}})}")
You need to be logged in to leave comments. Login now