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>
Reviewed: https:/ /reviews. mahara. org/3982 /git.nzoss. org.nz/ mahara/ mahara/ commit/ 0a1e5e0e6407f76 ee36eeda0732a1e 557383d3ba
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 0a1e5e0e6407f76 ee36eeda0732a1e 557383d3ba
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: I92c77e22753882 a2b9ed5be3738b8 d26b7f5709d
Signed-off-by: Mike Kelly <email address hidden>