Commit 1a65168e by Oláh István Gergely

dashboard: fix url in node-list node enable

parent c8c2a789
......@@ -161,7 +161,7 @@ $(function() {
$('#table_container').on('click','.node-enable',function() {
var tr= $(this).closest("tr");
var pk =$(this).attr('data-node-pk');
var url = '/dashboard/node/' + pk + '/';
var url = $(this).attr('href');
$.ajax({
method: 'POST',
url: url,
......
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