]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Registered upload js library.
authorSem <sembrestels@riseup.net>
Fri, 3 Aug 2012 22:31:13 +0000 (00:31 +0200)
committerSem <sembrestels@riseup.net>
Fri, 3 Aug 2012 22:31:13 +0000 (00:31 +0200)
start.php

index 0b9d709f3bd3a4bc440ee85ec3316bf2edddfac0..24ba6ac25f200f7aa33ea2397441d3b83a1aae64 100644 (file)
--- 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';