Commit ef3434e2 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

remove a old ajax request

parent 0fefde87
...@@ -214,33 +214,6 @@ ...@@ -214,33 +214,6 @@
$("#output_workflow").unbind('click', outputWFHandler); $("#output_workflow").unbind('click', outputWFHandler);
$("#output_workflow").bind('click', {"workflow_id": workflow.id}, outputWFHandler); $("#output_workflow").bind('click', {"workflow_id": workflow.id}, outputWFHandler);
}); });
/**
* Use services
*/
$.ajax({
url: 'http://localhost:8080/get_available_workflows?callback=?',
dataType: "json",
success: function(data) {
var workflow_by_class = {};
$("#dropdown-workflows").append('<li class="nav-header">to run ...</li>');
for (var i in data) {
$("#dropdown-workflows").append('<li><a id="availablewf_btn_'+data[i]["class"]+'" href="#">' + data[i]["name"] + '</a></li>');
}
$("#dropdown-workflows").append('<li class="divider"></li>');
$("#dropdown-workflows").append('<li class="nav-header">to monitor ...</li>');
/*$.ajax({
url: 'http://localhost:8080/get_workflows_status?callback=?',
dataType: "json",
success: function(data) {
for (var i in data) {
$("#dropdown-workflows").append('<li><a id="activeewf_btn_'+data[i]["id"]+'" href="#">' + data[i]["id"] + '</a></li>');
}
}
});*/
}
});
}); });
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment