From 71dc8cbf9eecb4de149bc96bb5758b866116b1c8 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 28 Nov 2010 22:03:18 +0000 Subject: Fixes #2173 #2507 integrated the ie and admin stylesheets into the new simplecache code git-svn-id: http://code.elgg.org/elgg/trunk@7465 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/friends/picker.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default/friends/picker.php') diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php index b8cc1560c..6a9551732 100644 --- a/views/default/friends/picker.php +++ b/views/default/friends/picker.php @@ -12,7 +12,8 @@ $base = elgg_get_site_url(); $viewtype = elgg_get_viewtype(); elgg_register_js("{$base}vendors/jquery/jquery.easing.1.3.packed.js", 'jquery.easing'); -elgg_register_js("{$base}cache/js/friendsPickerv1/default/friendsPickerv1.{$vars['config']->lastcache}.js", 'friendsPicker'); +$url = elgg_view_get_simplecache_url('js', 'friendsPickerv1'); +elgg_register_js($url, 'friendsPicker'); $chararray = elgg_echo('friendspicker:chararray'); -- cgit v1.2.3