Update included jQuery to 1.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CanDo |
Fix Released
|
High
|
Gediminas Paulauskas | ||
SchoolTool |
Fix Released
|
High
|
Gediminas Paulauskas |
Bug Description
CanDo was just moved to SchoolTool 1.4. Now, when you see the person view, the Sections and Groups widgets are not displayed correctly. These widgets should display trees grouped by school year.
The problem is simple: JSTree needs jQuery 1.4, but SchoolTool already has its own version of jQuery, 1.1.3
The solution: adjust scripts and plugins that need jQuery 1.4 to use the jQuery.
I tested the solution modifying the schooltool-1.4 egg in CanDo and it works, the widgets are displayed correctly again. CanDo also uses some other old jQuery plugins and this solution doesn't conflict with them.
Related branches
- Gediminas Paulauskas (community): Abstain
-
Diff: 311 lines (+146/-80)8 files modifiedCHANGES.txt (+1/-0)
src/schooltool/basicperson/browser/configure.zcml (+0/-10)
src/schooltool/basicperson/browser/resources/jstree/script.js (+0/-23)
src/schooltool/basicperson/browser/resources/jstree/style.css (+0/-34)
src/schooltool/basicperson/browser/templates/person_view.pt (+65/-4)
src/schooltool/person/browser/home.pt (+65/-4)
src/schooltool/schoolyear/browser/templates/schoolyear_add.pt (+9/-5)
src/schooltool/skin/configure.zcml (+6/-0)
Changed in schooltool: | |
assignee: | nobody → Douglas Cerna (replaceafill) |
Changed in schooltool: | |
status: | New → Fix Committed |
Changed in schooltool: | |
milestone: | none → 1.4.1 |
importance: | Undecided → High |
Changed in cando: | |
status: | Confirmed → Fix Committed |
Changed in schooltool: | |
milestone: | 1.4.1 → 1.4.2 |
Changed in cando: | |
status: | Fix Committed → Fix Released |
Changed in schooltool: | |
milestone: | 1.4.2 → next |
Changed in schooltool: | |
assignee: | Douglas Cerna (replaceafill) → Gediminas Paulauskas (menesis) |
milestone: | next → 1.6.0 |
Presumably we'll eventually catch up and use jQuery 1.4 in SchoolTool? Do we get ours from a .deb?