From d24d480f6510b3817f3e85699714ca6ed7ab234c Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 2 Jan 2012 21:29:57 -0500 Subject: added uploading scripts --- views/default/js/photos/uploading.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 views/default/js/photos/uploading.php (limited to 'views/default/js/photos') diff --git a/views/default/js/photos/uploading.php b/views/default/js/photos/uploading.php new file mode 100644 index 000000000..59448dd46 --- /dev/null +++ b/views/default/js/photos/uploading.php @@ -0,0 +1,28 @@ + + +elgg.provide('elgg.tidypics.uploading'); + +elgg.tidypics.uploading.init = function() { + $("#uploadify").uploadify({ + 'uploader' : 'mod/tidypics/vendors/uploadify/uploadify.swf', + 'script' : '', + 'fileDataName' : 'Image', + 'multi' : true, + 'auto' : false, + 'wmode' : 'transparent', + 'buttonImg' : " ", + 'height' : 20, + 'width' : 130 + }); +} + +elgg.register_hook_handler('init', 'system', elgg.tidypics.uploading.init); \ No newline at end of file -- cgit v1.2.3