← Back to team overview

mahara-contributors team mailing list archive

[Bug 1638733] Re: Static pages gives js error

 

** Changed in: mahara
       Status: New => In Progress

-- 
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

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