Commit 354e5381 authored by Jérome Perrin's avatar Jérome Perrin

add a TODO

parent 293b6f55
......@@ -483,6 +483,12 @@
} catch (e) {}
var gantt_output_height = 35 * (gantt_data.data.length + 1) + 1;
// TODO: gantt data have to be sorted in a clever way:
// jobs by alphabetic order
// for each job, stations in chronological order.
//
// gantt_data.data = gantt_data.data.sort(function(a,b)
// {return a.name > b.name ? -1 : 1});
$('#job_gantt').height(gantt_output_height).show().dhx_gantt({
data: gantt_data,
scale_unit: 'day',
......
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 to comment