Comment 5 for bug 1393734

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

Reviewed: https://reviews.mahara.org/3982
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/0a1e5e0e6407f76ee36eeda0732a1e557383d3ba
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 0a1e5e0e6407f76ee36eeda0732a1e557383d3ba
Author: Robert Lyon <email address hidden>
Date: Sat May 2 21:36:27 2015 +1200

Lazy-load list of textboxes when opening textbox form (Bug 1393734).

The query to load other textboxes when displaying textbox config. forms
is very heavy in a large instance of Mahara. This patch postpones the
listing of other textboxes in the textbox config. form, until the link
to display them is clicked.
This enables the textbox config. form to load and display quickly.

TODO: optimise loading speed of list of textboxes. This process is still
as slow as it was before - all this patch does is defer it until it's
actually required!

Change-Id: I92c77e22753882a2b9ed5be3738b8d26b7f5709d
Signed-off-by: Mike Kelly <email address hidden>