Moodle

navigation breadcrumb trail uses .first class for every item, not just the first

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.5
  • Component/s: Themes
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

The code in weblib.php, the print_navigation function around lines 3504 - 3522 for old code and the build_navigation function line 3676 - attaches the class of "first" to all of the list items in the breadcrumb trail. I'm guessing that it's a mistake as it doesn't really make any sense.

Activity

Hide
Martin Dougiamas added a comment -

Sounds like a bug.

Show
Martin Dougiamas added a comment - Sounds like a bug.
Hide
Tim Hunt added a comment -

Doh! Fixed.

Show
Tim Hunt added a comment - Doh! Fixed.
Hide
Sam Hemelryk added a comment -

Confirmed class thanks Tim

Show
Sam Hemelryk added a comment - Confirmed class thanks Tim

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: