From d4cab20408bcfa394ca978a16e09e6fd84539350 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 12 Mar 2011 20:08:44 +0000 Subject: 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 --- mod/pages/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/pages/start.php') 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'; -- cgit v1.2.3