Issue Details (XML | Word | Printable)

Key: MDL-17297
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Olli Savolainen
Reporter: Tim Hunt
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-17284

Get rid of editcss.js and adjust stylesheets

Created: 19/Nov/08 03:59 PM   Updated: 23/Nov/08 09:30 AM
Return to search
Component/s: Quiz
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Olli Savolainen and Tim Hunt
Security Level: None
Resolved date: 22/Nov/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
As of very recently, Moodle automatically adds a jsenabled class to body using JavaScript, so you can remove this quiz-specific code. You will, of course, need to update the style sheets.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Olli Savolainen added a comment - 22/Nov/08 08:36 PM
It is impossible to match #mod-quiz-edit at the same time. I did add a quiz-editing specific #quizcontentsblock in the rule to make sure my rules won't break anything anywhere else.

Tim Hunt added a comment - 23/Nov/08 09:30 AM
Actually, css selectors like

#mod-quiz-edit.jsenabled

work. (No need to change the code, I just thought you might like to know.)