"Use content from another text box" stops working if pagination is used

Bug #1279523 reported by Jono M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Son Nguyen

Bug Description

The option to "Use content from another text box" in the Text box blocktype uses pagination if more than 5 text boxes exist. However, if you use the pagination controls the radio buttons for selecting a text box appear to stop working, meaning that it's impossible to pick a text box which isn't in the first 5 results.

Firefox gives the following JavaScript errors:

ReferenceError: update_width is not defined views.js:1562
"ERROR: sendjsonrequest() callback failed: TypeError: getFirstElementByTagAndClassName(...) is null [object Object]" Packed.js:1757

Affects latest master

Son Nguyen (ngson2000)
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/3010

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3010
Committed: http://gitorious.org/mahara/mahara/commit/7d5787216d2a7f36bcc24189bba3d61f44720cf9
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 7d5787216d2a7f36bcc24189bba3d61f44720cf9
Author: Son Nguyen <email address hidden>
Date: Fri Feb 14 15:15:17 2014 +1300

Replace old update_width() by updateBlockConfigWidth()
Bug 1279523

Change-Id: I2e7ae1194e8167b59d728c326a61e425401e5aaa
Signed-off-by: Son Nguyen <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.