Commit b28159d2 by Oláh István Gergely

dashboard: fix status changer in node-list

parent cb5cbfdb
...@@ -185,7 +185,7 @@ $(function() { ...@@ -185,7 +185,7 @@ $(function() {
$.ajax({ $.ajax({
method: 'POST', method: 'POST',
url: url, url: url,
data: {'new_status':new_status}, data: {'change_status':''},
headers: {"X-CSRFToken": getCookie('csrftoken')}, headers: {"X-CSRFToken": getCookie('csrftoken')},
success: function(data, textStatus, xhr) { success: function(data, textStatus, xhr) {
onsuccess(params); onsuccess(params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment