Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40459

Library > JavaScript spin+clone tweak to retain visible checked state of checkboxes and radios

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.3, 19.0
    • Fix Version/s: 19.0
    • Component/s: Library
    • Labels:
      None
    • 12 status:
      Please Merge
    • Test Plan:
      Hide
      1. Go to Site Info > Manage Tools for any site
      2. Make some selections in the tool list
      3. Click the 'Continue' button
      4. Verify that after clicking the button, and before the next page has presented itself, that the checkboxes you selected preserve their "checked" state after the controls have been disabled
      5. Go to Worksite Setup > Create New Site
      6. Select either "Course" or "Project", then click the "Continue" button
      7. Verify that after clicking the button, and before the next page has presented itself, that the radio button you selected retains its "checked" state after the controls have been disabled
      Show
      Go to Site Info > Manage Tools for any site Make some selections in the tool list Click the 'Continue' button Verify that after clicking the button, and before the next page has presented itself, that the checkboxes you selected preserve their "checked" state after the controls have been disabled Go to Worksite Setup > Create New Site Select either "Course" or "Project", then click the "Continue" button Verify that after clicking the button, and before the next page has presented itself, that the radio button you selected retains its "checked" state after the controls have been disabled

      Description

      In 12 and 19 the JavaScript spin and clone routine is applying a class to inputs of type radio and checkboxes which in effect makes the "checked" state of the cloned elements no longer visible. This can be confusing for the user, as it may look as though their selection(s) have been lost.

      This is a regression compared to 11.x.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lgekeler Laura Gekeler
                Reporter:
                bjones86 Brian Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code