Skip to content

Commit

Permalink
Expermineting to drag results
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBuetler committed Jun 17, 2024
1 parent 1e88a7c commit 3a3eeba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions views/results/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,8 @@ function u_btoa(buffer) {
}
function movePlots(direction, id) {
console.log(direction);
console.log(id);
var direction = $(this).data('direction');
var id = $(this).data('id');
$.ajax({
url : '/api/ui/results/uid=' + id + '/systemId=" . $data['system']->getId() . "/action=up/resultId=" . $data['resultId'] . "',
url : '/api/ui/results/uid=' + id + '/systemId=" . $data['system']->getId() . '/action=' . direction . "/resultId=" . $data['resultId'] . "',
type: 'GET',
data: {
id: id
Expand Down

0 comments on commit 3a3eeba

Please sign in to comment.