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

Dialogs not working along with jquery3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core, jquery3-api-plugin
    • None
    • * core version 2.481 (latest weekly)
      * jquery3-api 3.7.1-2 (latest)
      * chrome 130.0.6723.59 (also visible on firefox)

      Uncaught TypeError: Cannot read properties of undefined (reading 'submit') at Object.form (index.js:256:44) at showForm (dialog.js:6:12) at HTMLButtonElement.onclick (reproducer/:12:90)

       

      • Verify the code works without the jquery3 adjunct by commenting 
        <st:adjunct includes="io.jenkins.plugins.jquery3"/>

        in `src/main/resources/io/jenkins/plugins/ReproducingAction/index.jelly` and reloading the page.
         

            mawinter69 Markus Winter
            pierrebtz Pierre Beitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: