#2 — Condition to add CSS class "selected" to the Abcedaire doesn't match
by
xMartin
—
last modified
Apr 05, 2010 03:17 PM
| State | Resolved |
|---|---|
| Version: | ploneglossary-1.4.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | xMartin |
| Submitted on | Apr 05, 2010 |
| Responsible | Alter Way Solutions |
| Target release: |
—
|
There's this condition to add the CSS class "selected" to a link in the Abcedaire but it compares uppercase to lowercase letter:
'css_class': letter == self.search_letter and 'selected' or None
I think the "letter" needs to be lowercased as the other occurances in this part of the code:
'css_class': letter.lower() == self.search_letter and 'selected' or None
'css_class': letter == self.search_letter and 'selected' or None
I think the "letter" needs to be lowercased as the other occurances in this part of the code:
'css_class': letter.lower() == self.search_letter and 'selected' or None
Added by
xMartin
on
Apr 05, 2010 02:38 PM
Patch attached against trunk.
Added by
Alter Way Solutions
on
Apr 05, 2010 03:17 PM
This is fixed in the trunk in rev 114602.
Issue state:
Unconfirmed
→
Resolved
Responsible manager:
(UNASSIGNED)
→
ingeniweb
No responses can be added.
If you can, please log in before submitting a reaction.

