From d5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Fri, 13 Apr 2012 16:18:46 -0700 Subject: Fixed ajax uploading for walled garden users. --- views/default/js/photos/uploading.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views/default/js/photos/uploading.php') diff --git a/views/default/js/photos/uploading.php b/views/default/js/photos/uploading.php index cb79dc77c..ae66226b0 100644 --- a/views/default/js/photos/uploading.php +++ b/views/default/js/photos/uploading.php @@ -78,6 +78,9 @@ elgg.tidypics.uploading.init = function() { if (data.fileCount == 0) { $("#tidypics-upload-button").addClass('tidypics-disable'); } + }, + 'onError' : function (event, ID, fileObj, errorObj) { + // @todo do something useful with the limited information in the errorObj. } }); -- cgit v1.2.3