aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-04-13 16:18:46 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-04-13 16:18:46 -0700
commitd5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2 (patch)
treebc86079ae19afffb628ee2f12b6223ea7b507417 /views/default/js
parent6ad5f07c03b8a6763d8c07e86d43fa7be7583d05 (diff)
downloadelgg-d5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2.tar.gz
elgg-d5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2.tar.bz2
Fixed ajax uploading for walled garden users.
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/photos/uploading.php3
1 files changed, 3 insertions, 0 deletions
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.
}
});