← Back to team overview

mahara-contributors team mailing list archive

[Bug 1221020] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2494
Committed: http://gitorious.org/mahara/mahara/commit/508274cbfc57d4c2161ed40f0fa44afbe1d4500b
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 508274cbfc57d4c2161ed40f0fa44afbe1d4500b
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Sep 13 10:04:52 2013 +1200

Automatic retract checkbox js not working issue bug 1221020

it looks like the problem was the js code for the Automatic
retract text was being called after some js code for license info
and if license info was not enabled in config the js would fail
before reaching the right point.

Change-Id: I29483d16388aaa816b02089cfb603996699775de
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/1221020

Title:
  JS to enable the "Automatically retract" checkbox is no longer working
  on blocks with TinyMCE

Status in Mahara ePortfolio:
  Fix Committed

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