summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-08-18 14:08:51 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-08-18 14:08:51 +0200
commit2860ce027ab0d458bbcc5841d5b7cb8c7eae03e9 (patch)
treea4d72e5be063b623c11e16d58b6c7e71f73adaef /apps
parent0d956cb4aa6456304d61ad38f9a5801956c23e5f (diff)
downloadnextcloud-server-2860ce027ab0d458bbcc5841d5b7cb8c7eae03e9.tar.gz
nextcloud-server-2860ce027ab0d458bbcc5841d5b7cb8c7eae03e9.zip
Remove "errorThrown" parameter
When the "fail" callback is called, "errorThrown" is a property of the data object instead of a parameter. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/files_drop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/files_drop.js b/apps/files_sharing/js/files_drop.js
index f1fc71c6ce2..b3956948ee4 100644
--- a/apps/files_sharing/js/files_drop.js
+++ b/apps/files_sharing/js/files_drop.js
@@ -101,7 +101,7 @@
var fileIcon = '<img src="' + escapeHTML(mimeTypeUrl) + '"/> ' + fileName;
Drop.setFileIcon(fileName,fileIcon);
},
- fail: function(e, data, errorThrown) {
+ fail: function(e, data) {
OC.Notification.showTemporary(OC.L10N.translate(
'files_sharing',
'Could not upload "{filename}"',