aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-04 00:31:13 +0200
committerSem <sembrestels@riseup.net>2012-08-04 00:31:13 +0200
commita52b5173a3af6f29f8dd3341dac1e35548c83d8b (patch)
treed8ad143b48c4c115512f5f75de73ffdc434cd1af
parent946c594323450632099107cb8d5456130ae73322 (diff)
downloadelgg-a52b5173a3af6f29f8dd3341dac1e35548c83d8b.tar.gz
elgg-a52b5173a3af6f29f8dd3341dac1e35548c83d8b.tar.bz2
Registered upload js library.
-rw-r--r--start.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/start.php b/start.php
index 0b9d709f3..24ba6ac25 100644
--- a/start.php
+++ b/start.php
@@ -38,6 +38,9 @@ function tidypics_init() {
$js = elgg_get_simplecache_url('js', 'photos/tidypics');
elgg_register_simplecache_view('js/photos/tidypics');
elgg_register_js('tidypics', $js, 'footer');
+ $js = elgg_get_simplecache_url('js', 'photos/upload');
+ elgg_register_simplecache_view('js/photos/upload');
+ elgg_register_js('tidypics:upload', $js, 'footer');
$js_base = 'mod/lightpics/vendors/jquery-file-upload/js';