OSC / ood-activejobs

[MOVED] Active Jobs provides details of scheduled jobs on an HPC cluster.
https://osc.github.io/Open-OnDemand/
MIT License
0 stars 1 forks source link

Deleting a job sends a GET request #100

Closed nickjer closed 7 years ago

nickjer commented 7 years ago

I don't believe deleting a job should send a GET request as we are changing the state of the server. Also, some browsers will call GET requests just by hovering your mouse over a link and not clicking it.

brianmcmichael commented 7 years ago

DELETE requests can only be performed via ajax. This will take a little more work than just changing the route.

brianmcmichael commented 7 years ago

Fixed by https://github.com/OSC/ood-activejobs/commit/4364af866d2277e57b9271cf2c681fff4bba6480