Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70944

Remove Prototype $ usages from hetero-list.js

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • 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.

            basil Basil Crow
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: