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

Disable Parameter-Elements by JavaScript does not work anymore

      In our buildjob we have some parameters. Because we have so many parameter we have added a JavaScript which preselects some parameter for us.
      But with the latest update to 1.522 it does not work anymore.

      We have insert the javascript into a descriptionfield of a text-parameter as html (s. Screenshot)

      When we would start a build with parameter, only the first dropdown should be activated. After we have selected one value of the first dropdown the other dropdowns should be also activated.

          [JENKINS-18763] Disable Parameter-Elements by JavaScript does not work anymore

          Jens Tim added a comment -

          Jens Tim added a comment - Try this: (anything goes plugin) https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=60915753

          Thank you Tim for your good hint. It works for us.

          Sven Finsterwalder added a comment - Thank you Tim for your good hint. It works for us.

            Unassigned Unassigned
            sfin Sven Finsterwalder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: