Moving dhtmlxGantt library to 'libraries' folder

This commit is contained in:
Manuel Cillero 2017-08-13 11:07:26 +02:00
parent dbcdde741c
commit 5e16eb66dd
162 changed files with 6 additions and 5 deletions

View file

@ -114,7 +114,7 @@ function stormtask_tasks($project) {
$taskstree = _stormtask_get_tree($project->nid, 0, -1, NULL, $where, $args);
$o_gantt = "";
$jsgantt_dir = drupal_get_path('module', 'stormtask') . '/dhtmlxgantt';
$jsgantt_dir = 'libraries/dhtmlxgantt';
$dispOpt = variable_get('stormtask_jsgantt_options', array());
if ($dispOpt['ShowStartDate']) {
@ -199,7 +199,7 @@ function stormtask_tasks($project) {
break;
default:
$tCompl .= '0';
}
}
}
}
@ -244,7 +244,7 @@ function stormtask_tasks($project) {
return "weekend"
}
};
// Scale
gantt.config.scale_unit = "month";
gantt.config.step = 1;
@ -969,4 +969,3 @@ function stormtask_list_filter_filter($form, &$form_state) {
function stormtask_list_filter_reset($form, &$form_state) {
unset($_SESSION['stormtask_list_filter']);
}