aboutsummaryrefslogtreecommitdiff
path: root/mod/developers
diff options
context:
space:
mode:
authorIsmayil Khayredinov <ismayil.khayredinov@hypejunction.com>2011-12-15 13:20:56 +0100
committercash <cash.costello@gmail.com>2011-12-18 16:59:55 -0500
commitd784d088ddfd6cc0d74f79539872921c358b75cb (patch)
treed1527b78d219b6ecfbc727ad60c4f0d388320501 /mod/developers
parent2aa0e3846b60a44c6f2dbfe2f9a690776533dca3 (diff)
downloadelgg-d784d088ddfd6cc0d74f79539872921c358b75cb.tar.gz
elgg-d784d088ddfd6cc0d74f79539872921c358b75cb.tar.bz2
Fixes 4209: jquery.form.js library loading
Diffstat (limited to 'mod/developers')
-rw-r--r--mod/developers/start.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/mod/developers/start.php b/mod/developers/start.php
index 2e3df7663..79ec0655a 100644
--- a/mod/developers/start.php
+++ b/mod/developers/start.php
@@ -23,6 +23,8 @@ function developers_init() {
elgg_register_js('jquery.jstree', 'mod/developers/vendors/jsTree/jquery.jstree.js', 'footer');
elgg_register_css('jquery.jstree', 'mod/developers/vendors/jsTree/themes/default/style.css');
+ elgg_load_js('jquery.form');
+
elgg_register_js('elgg.dev', 'js/developers/developers.js', 'footer');
elgg_load_js('elgg.dev');
}
@@ -166,13 +168,13 @@ function developers_theme_preview_controller($page) {
$pages = array(
'buttons',
- 'components',
- 'forms',
- 'grid',
+ 'components',
+ 'forms',
+ 'grid',
'icons',
- 'modules',
- 'navigation',
- 'typography',
+ 'modules',
+ 'navigation',
+ 'typography',
);
foreach ($pages as $page_name) {