← Back to team overview

mahara-contributors team mailing list archive

[Bug 1638733] Re: Static pages gives js error

 

** Also affects: mahara/15.04
   Importance: Undecided
       Status: New

** Also affects: mahara/17.04
   Importance: Undecided
       Status: In Progress

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Also affects: mahara/16.10
   Importance: Undecided
       Status: New

** Also affects: mahara/16.04
   Importance: Undecided
       Status: New

** Changed in: mahara/17.04
   Importance: Undecided => Low

** Changed in: mahara/17.04
   Importance: Low => Medium

** Changed in: mahara/16.10
   Importance: Undecided => Medium

** Changed in: mahara/16.04
   Importance: Undecided => Medium

** Changed in: mahara/15.10
   Importance: Undecided => High

** Changed in: mahara/15.10
   Importance: High => Medium

** Changed in: mahara/15.04
   Importance: Undecided => Medium

** Changed in: mahara/15.04
    Milestone: None => 15.04.11

** Changed in: mahara/15.10
    Milestone: None => 15.10.7

** Changed in: mahara/16.04
    Milestone: None => 16.04.5

** Changed in: mahara/16.10
    Milestone: None => 16.10.1

** Changed in: mahara/17.04
    Milestone: None => 17.04.0

-- 
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:
  In Progress
Status in Mahara 15.04 series:
  New
Status in Mahara 15.10 series:
  New
Status in Mahara 16.04 series:
  New
Status in Mahara 16.10 series:
  New
Status in Mahara 17.04 series:
  In Progress

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