My elgg 2.3 site loads widgets from a menu without refreshing the page. I rebuilt the FileTools filerepo widget to include the file_tree.
Can you tell me what I need to do in order to load the jsTree in File Tools without a page load? I (think I) understand that the view "list/tree" instantiates the tree using "elgg_require_js('file_tools/tree');" and it works fine when the tree loads during a full refresh. When I remove and reload the widget, the tree is not instantiated.
I realize that Composer loads bower-asset/jstree as a required dependency during page load. I am not clear how to load jstree without a page load.
Thank you
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.