mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #40491
[Bug 1638733] Re: Static pages gives js error
** Changed in: mahara/15.10
Status: Fix Committed => Fix Released
** Changed in: mahara/16.04
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1638733
Title:
Static pages gives js error
Status in Mahara:
Fix Committed
Status in Mahara 15.10 series:
Fix Released
Status in Mahara 16.04 series:
Fix Released
Status in Mahara 16.10 series:
Fix Released
Status in Mahara 17.04 series:
Fix Committed
Bug description:
I get this error:
TypeError: $(...) is null
if ($('editsitepage_pageusedefault').checked == true) {
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1638733/+subscriptions
References