Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37074

YUI replaces element classes instead of concatenating

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      (Requires developer tools ie firefox/chrome)

      1. Clear all caches
      2. Go to the assignment grading page
      3. Select a row from the grading table
      4. Right click on a cell in the row and "Inspect" it
      5. Look at the containing <tr> element
      6. Verify it has both "selectedrow" and "r0" or "r1" classes
      Show
      (Requires developer tools ie firefox/chrome) Clear all caches Go to the assignment grading page Select a row from the grading table Right click on a cell in the row and "Inspect" it Look at the containing <tr> element Verify it has both "selectedrow" and "r0" or "r1" classes
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37074-master

      Description

      The gradebook table (.gradingtable) table rows contain the classes .r0 and .r1, but when YUI loads it replaces those classes with .rowunselected and replaces that with .rowselected if the checkbox is checked.

      I think that it should be concatenated to be ".r0 .rowunselected" and ".r1 .rowunselected" so that the table can continue to leverage the benefits of striping

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/13