mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24443
[Bug 1403703] A change has been merged
Reviewed: https://reviews.mahara.org/4107
Committed: http://gitorious.org/mahara/mahara/commit/3e4c4a9c6f67cbbb235e749d7766bb9b68c628a8
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch: master
commit 3e4c4a9c6f67cbbb235e749d7766bb9b68c628a8
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Thu Jan 29 16:03:02 2015 +1300
Adjusting the switchbox to be css only (Bug #1403703)
And getting it to work in a block configuration form - see the image
block's configuration form
Includes reverting these commits
db7f45200020bc96f4250ee6498e95cd6d40814d
9e0c498c91f7e6c26635267c447e51a4fee4d2e9
and altering this commit to not use the switchbutton jquery plugin
901df0a558843b27f56d59937e67dee994f09545
Change-Id: I818c296cdcf573ede63b1783defb1b528d93ae2d
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
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:
In Progress
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