OK button disabled on New view page

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            ricq
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: