diff options
Diffstat (limited to 'views/default/js/photos')
-rw-r--r-- | views/default/js/photos/uploading.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/js/photos/uploading.php b/views/default/js/photos/uploading.php index 4330ae5ba..465f937ab 100644 --- a/views/default/js/photos/uploading.php +++ b/views/default/js/photos/uploading.php @@ -76,6 +76,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. } }); |