mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #39474
[Bug 1638733] [NEW] Static pages gives js error
Public bug reported:
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
** Affects: mahara
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2017-04-27
-
[Bug 1638733] Re: Static pages gives js error
From: Kristina Hoeppner, 2016-12-29
-
[Bug 1638733] Re: Static pages gives js error
From: Cecilia Vela Gurovic, 2016-12-13
-
[Bug 1638733] A change has been merged
From: Mahara Bot, 2016-12-08
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2016-12-08
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2016-12-08
-
[Bug 1638733] A change has been merged
From: Mahara Bot, 2016-12-08
-
[Bug 1638733] Re: Static pages gives js error
From: Kristina Hoeppner, 2016-12-08
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2016-11-28
-
[Bug 1638733] A change has been merged
From: Mahara Bot, 2016-11-28
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2016-11-28
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2016-11-28
-
[Bug 1638733] A patch has been submitted for review
From: Mahara Bot, 2016-11-28
-
[Bug 1638733] A patch has been submitted for review
From: Mahara Bot, 2016-11-28
-
[Bug 1638733] A patch has been submitted for review
From: Mahara Bot, 2016-11-28
-
[Bug 1638733] A change has been merged
From: Mahara Bot, 2016-11-28
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2016-11-06
-
[Bug 1638733] Re: Static pages gives js error
From: Robert Lyon, 2016-11-03
-
[Bug 1638733] A patch has been submitted for review
From: Mahara Bot, 2016-11-02