Steps to reproduce:

      1. Install 2.267 and go through the wizard installing no plugins
      2. Create a new freestyle job
      3. Add a "Execute Windows batch command" build step
      4. Click Advanced
      5. Click Add environment filter
      6. Select "Only keep"

      Expected Result:

      It works

      Actual Result:

      See screenshot. Console says:

      Uncaught TypeError: h.hasClassName is not a function
          prepareDD http://localhost:8080/adjuncts/813d7f4b/lib/form/dragdrop/dragdrop.js:16
          <anonymous> http://localhost:8080/adjuncts/813d7f4b/lib/form/hetero-list/hetero-list.js:104
          renderOnDemand http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:684
          next http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:723
          sequencer http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:726
          evalInnerHtmlScripts http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:711
          renderOnDemand http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:682
          onSuccess http://localhost:8080/adjuncts/813d7f4b/org/kohsuke/stapler/bind.js:57
          respondToReadyState http://localhost:8080/static/813d7f4b/scripts/prototype.js:1657
          onStateChange http://localhost:8080/static/813d7f4b/scripts/prototype.js:1600
          bind http://localhost:8080/static/813d7f4b/scripts/prototype.js:414
      

          [JENKINS-64252] hasClassName is not a function

          Daniel Beck created issue -
          Daniel Beck made changes -
          Attachment New: Screenshot 2020-11-18 at 14.07.51.png [ 53387 ]
          Tim Jacomb made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Tim Jacomb made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Tim Jacomb made changes -
          Remote Link New: This issue links to "jenkins/pull/5067 (Web Link)" [ 26328 ]
          Tim Jacomb made changes -
          Released As New: https://github.com/jenkinsci/jenkins/releases/tag/jenkins-2.268
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: