mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #13453
[Bug 1221020] Re: JS to enable the "Automatically retract" checkbox is no longer working on blocks with TinyMCE
This looks to fail if license info is not enabled in the config as there
are a bunch of js calls expecting certain elements to be present in the
form that are not there.
I've added some js to check if the elements exist before trying to
access them
https://reviews.mahara.org/#/c/2494/
** Changed in: mahara
Status: Triaged => 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/1221020
Title:
JS to enable the "Automatically retract" checkbox is no longer working
on blocks with TinyMCE
Status in Mahara ePortfolio:
In Progress
Bug description:
To replicate:
1. Add a Text Box block to a page
2. Notice that by default, the "Retractable" and "Automatically retract" checkboxes are both unticked, and the "Automatically rectract" checkbox is disabled (grayed out)
3. Tick the "Retractable" checkbox
Expected result: The "Automatically retract" checkbox should become enabled
Actual result: The "Automatically retract" checkbox remains disabled.
It's also broken in the reverse direction:
1. Add a Text Box block to a page
2. Tick the "Retractable" checkbox for that block and save it.
3. Now edit the block again
4. Notice that the "Automatically retract" checkbox is enabled.
5. Untick the "Retractable" checkbox
Expected result: The "Automatically retract" checkbox should become disabled
Actual result: The "Automatically rectract" checkbox remains enabled
This problem was observed in master (1.8dev). It is not present in
1.7_STABLE.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1221020/+subscriptions
References