app/views/naf/historical_jobs/show.html.erb in naf-2.1.9 vs app/views/naf/historical_jobs/show.html.erb in naf-2.1.10

- old
+ new

@@ -184,12 +184,11 @@ var answer = confirm("You are terminating this job. Are you sure you want to do this?"); if (!answer) { return false; } var id = <%= @historical_job.id %>; - var url = '/job_system/historical_jobs/' + id; jQuery.ajax({ - url: url, + url: id, type:'POST', dataType:'json', data:{ "historical_job[request_to_terminate]": 1, "historical_job_id": id, "_method": "put" }, success:function (data) { if (data.success) {