← Back to team overview

mahara-contributors team mailing list archive

[Bug 1403703] Re: Switchbox pieform element doesn't work in block configs

 

** Changed in: mahara
       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/1403703

Title:
  Switchbox pieform element doesn't work in block configs

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  I was doing some experimenting with the new switchbox pieform element,
  and I found that trying to put it in a block config causes the block
  config popup to error out.

  The error in the Javascript console is:

  "ERROR: sendjsonrequest() callback failed:  TypeError:
  jQuery(...).switchButton is not a function [object Object]"

  I believe this is because the switchbutton library isn't getting
  properly loaded if it's in a block config.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1403703/+subscriptions


References