Expand for Development Notes:
- moveStepFromOneProjectToAnother.html:
- Loads: getProjects.js
- Loads: getProjectName.js
- Loads: populateProjectName.js
- Loads: populateProjectId.js
- Loads: buildSelectControl.js
- moveStepFromOneProjectToAnother.html Calls: buildSelectControl()
- ..
- buildSelectControl() on change event calls populateProjectId()
- populateProjectId calls populateProjectName()
- populateProjectName() calls getSteps()
- getSteps() gets all steps for all projects, then calls showStepsForThisProject(res)
- showStepsForThisProject(res) filters out only the steps for this Project and isComplete = false.
- The edit link on the table built by the function above, calls the moveStep(_id) function.
- moveStep(_id)
- The moveStep function does the following:
- Captures the Project ID and Saves to localStorage
- Captures the Step ID and Saves to localStorage
- Take User to new page, moveStepFromOneProjectToAnother2.html that auto loads the:
- Function onLoadGetMoveData() via an onLoad event in the body tag. The onLoadGetMoveData() function does the following:
- Project Id from localStorage
- ...
- ...
- ...
- ...
Move From
Select Move Step from One of The Tasks Below
Step |
Order |
Phase |
Assigned |
Complete |
Due |
Note |
Move |