aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/css/elgg.php3
-rw-r--r--views/default/friends/picker.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/views/default/css/elgg.php b/views/default/css/elgg.php
new file mode 100644
index 000000000..57b118c2b
--- /dev/null
+++ b/views/default/css/elgg.php
@@ -0,0 +1,3 @@
+<?php
+
+echo elgg_view('css');
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index 78c10e394..b8cc1560c 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -12,7 +12,7 @@
$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}_css/js.php?lastcache={$vars['config']->lastcache}&js=friendsPickerv1&viewtype=$viewtype", 'friendsPicker');
+elgg_register_js("{$base}cache/js/friendsPickerv1/default/friendsPickerv1.{$vars['config']->lastcache}.js", 'friendsPicker');
$chararray = elgg_echo('friendspicker:chararray');