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

OK button disabled on New view page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      On Hudson 1.275, it is impossible to create a new view on a clean installation.
      It seems that the JavaScript code to update the OK button can only handle
      situations where multiple radio buttons exist, but on a default installation
      only one radio option (List View) is available.

      Reproduction:

      • On the overview page, click the '+' tab, the create a new view
      • Enter a view name, and select 'List View'
      • Make sure that 'List View' is the only option you can select
        Expected result:
      • The OK button will be enabled, since all fields have been filled
        Actual result:
      • The OK button remains disabled.

      A quick look at the javascript code, shows that the updateOk.state() function,
      cannot evaluate radio.length, since radio is not an array. This is probably
      because form.elements['mode'] evaluates to a single element

            Unassigned Unassigned
            ricq ricq
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: