This includes:
* Copy user competencies to user_competency_plan when updating plan
with status complete.
* User competencies in user_competency_plan are deleted when the plan
is set back to draft or active.
* the api::list_plan_competencies method is now returning
user_competency_plan objects if plan status is complete.
* external functions and renderer have been adapted to the new api
methods.
* Remove fields status and reviewerid from user_competency_plan
1. The competencies tree should open with all nodes initially collapsed
(unless there is less than 20 results, in which case they should all be expanded)
2. When the tree is refreshed, all previously selected nodes should be remembered
and the tree expanded to that point.
3. While the tree is reloading - there should be a "spinner"
Add custom .on methods instead of expecting code outside the module
to know which node to bind to to listen for events.
Also keep the selectionChanged handler private to the competencyactions module.
Finally - fix the broken move competency action.
The user learning plans page menus were broken by some refactoring.
Fixed during merge by Fred:
- Added space between icons and strings in action menu
- Recent changes caused the plans page to die when listing templates
This was done for the frameworks as well. As we display the templates
accross contexts, the sortorder will not produce the expected result
therefore it is better to remove it.
This includes:
* Move all JS modules from lib/amd to admin/tool/lp/amd
* Add all jsdocs
* fix all jshint warnings
* Rewrite the actionmenu wrapper to a real amd module