aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 08:10:28 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 08:10:28 -0400
commit4761adf8eee9feadd77599682ef192b56520d11d (patch)
tree022a921d20ddd26fb226351cadedf9a8dfe9e971 /views/default/js
parent4448f072dc6149a62b602e60e766fd00c2b6af89 (diff)
parentc1da32e6a7e2f4a15a3b2d69cd38a1c0c164a99d (diff)
downloadelgg-4761adf8eee9feadd77599682ef192b56520d11d.tar.gz
elgg-4761adf8eee9feadd77599682ef192b56520d11d.tar.bz2
Pulling in several small fixes from Brett's fork
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 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.
}
});