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

Bug #1279523 reported by Jono Mingard on 2014-02-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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) on 2014-02-14
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
status: New → In Progress

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) on 2014-02-17
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2014-04-22
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers