aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 20:08:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 20:08:44 +0000
commitd4cab20408bcfa394ca978a16e09e6fd84539350 (patch)
tree1742a815ff4d19adc652f2a00e121e6c27a3472c /mod/pages/start.php
parent78f023b3b149e1f1c8c9428162e3b6551145b9e1 (diff)
downloadelgg-d4cab20408bcfa394ca978a16e09e6fd84539350.tar.gz
elgg-d4cab20408bcfa394ca978a16e09e6fd84539350.tar.bz2
Refs #3091 rewrote the js and css register functions to require a name
git-svn-id: http://code.elgg.org/elgg/trunk@8668 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 1c655bd07..23c564da5 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -101,9 +101,9 @@ function pages_page_handler($page) {
// add the jquery treeview files for navigation
$js_url = elgg_get_site_url() . 'mod/pages/vendors/jquery-treeview/jquery.treeview.min.js';
- elgg_register_js($js_url, 'jquery-treeview');
+ elgg_register_js('jquery-treeview', $js_url);
$css_url = elgg_get_site_url() . 'mod/pages/vendors/jquery-treeview/jquery.treeview.css';
- elgg_register_css($css_url, 'jquery-treeview');
+ elgg_register_css('jquery-treeview', $css_url);
if (!isset($page[0])) {
$page[0] = 'all';