Static pages gives js error
Bug #1638733 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned | ||
15.10 |
Fix Released
|
Medium
|
Unassigned | ||
16.04 |
Fix Released
|
Medium
|
Unassigned | ||
16.10 |
Fix Released
|
Medium
|
Unassigned | ||
17.04 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I get this error:
TypeError: $(...) is null
if ($('editsitepag
This is because the 'use default' option is not present on the site static pages but is on the institution static pages.
Need to detect if the element exists before trying to find it's 'checked' status
Changed in mahara: | |
status: | New → In Progress |
no longer affects: | mahara/15.04 |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/7225