aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-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.
}
});