-
Task
-
Resolution: Fixed
-
Minor
-
None
-
-
2.400
The following usages of Prototype's $ remain:
src/main/resources/lib/form/hetero-list/hetero-list.js: $(menuButton._button).addClassName(btn.className); // copy class names src/main/resources/lib/form/hetero-list/hetero-list.js: $(menuButton._button).setAttribute("suffix", btn.getAttribute("suffix")); src/main/resources/lib/form/hetero-list/hetero-list.js: $(nc).setOpacity(0); src/main/resources/lib/form/hetero-list/hetero-list.js: $(prototypes) src/main/resources/lib/form/hetero-list/hetero-list.js: $(this).up(".repeated-chunk").addClassName("hover"); src/main/resources/lib/form/hetero-list/hetero-list.js: $(this).up(".repeated-chunk").removeClassName("hover"); src/main/resources/lib/form/hetero-list/hetero-list.js: e = $(e); src/main/resources/lib/form/hetero-list/hetero-list.js: e = $(e); src/main/resources/lib/form/hetero-list/hetero-list.js: var prototypes = $(e.lastElementChild);
These usages should be migrated to document.getElementById.
- links to