From 1788eaae13698f0391692476e9649adbc8c7ff56 Mon Sep 17 00:00:00 2001 From: Drake Date: Thu, 7 Sep 2006 22:43:17 +0000 Subject: [PATCH] Attempt to fix taskArray breakage from r2879. --- docs/upgrades/templates-7.0.7/project_manager_gantt_chart.tmpl | 2 +- www/extras/wobject/ProjectManager/projectDisplay.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/upgrades/templates-7.0.7/project_manager_gantt_chart.tmpl b/docs/upgrades/templates-7.0.7/project_manager_gantt_chart.tmpl index 3665dc23a..002e0c868 100644 --- a/docs/upgrades/templates-7.0.7/project_manager_gantt_chart.tmpl +++ b/docs/upgrades/templates-7.0.7/project_manager_gantt_chart.tmpl @@ -1,7 +1,7 @@ #ProjectManagerTMPL0003
diff --git a/www/extras/wobject/ProjectManager/projectDisplay.js b/www/extras/wobject/ProjectManager/projectDisplay.js index 1e31ba8fd..334a2ea09 100644 --- a/www/extras/wobject/ProjectManager/projectDisplay.js +++ b/www/extras/wobject/ProjectManager/projectDisplay.js @@ -4,6 +4,7 @@ var popTitle = "Add/Edit Task"; // To be set by template vars var dunits, hoursPerDay, taskLength; var extrasPath, errorMsgs; +var taskArray; function doCalendar (fieldId) { Calendar.setup({ @@ -132,8 +133,6 @@ function adjustTaskTimeFromDuration(start, end, duration, lagTime, isTaskForm, p //Set new duration in taskArray taskArray[seqNum]["duration"] = taskDuration; - if (seqNum == null) - alert("WARNING, WARNING!"); //Adjust time based on new end date adjustTaskTimeFromDate(start, end, duration, lagTime, end, isTaskForm, predecessor, origStart, origEnd, seqNum); }