[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 657738deb452633a06b28f0a9477cb6110116ea2
Franck VILLAUME
nerville at fusionforge.org
Mon Jan 27 12:45:47 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via 657738deb452633a06b28f0a9477cb6110116ea2 (commit)
from e6e908a34af9bb0b8076d82188a5d3fd2830f434 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 657738deb452633a06b28f0a9477cb6110116ea2
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Mon Jan 27 12:45:24 2014 +0100
pm: gantt chart, fix depend display
diff --git a/src/www/pm/ganttpage.php b/src/www/pm/ganttpage.php
index c0b4022..4114381 100644
--- a/src/www/pm/ganttpage.php
+++ b/src/www/pm/ganttpage.php
@@ -128,14 +128,12 @@ foreach ($pt_arr as $task) {
for($j =0; $j <count($pt_arr); $j++) {
$dependentTasksArr = $pt_arr[$j]->getDependentOn();
$depends = '';
- $level = 0;
foreach ($dependentTasksArr as $key => $dependentTask) {
if ($key != 100) {
for ($i =0; $i <count($transformedTasksArr); $i++) {
if ($transformedTasksArr[$i]['id'] == $key) {
// depends is based on the row number in the gantt editor ... which starts at 1 not 0... (0 is the th...)
$newkey = $i+1;
- $level = $transformedTasksArr[$i]['level'] + 1;
break;
}
}
@@ -148,7 +146,6 @@ for($j =0; $j <count($pt_arr); $j++) {
}
}
$transformedTasksArr[$j]['depends'] = $depends;
- $transformedTasksArr[$j]['level'] = $level;
}
$tech_id_arr[] = '0';
-----------------------------------------------------------------------
Summary of changes:
src/www/pm/ganttpage.php | 3 ---
1 file changed, 3 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list