summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
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-27 18:37:43 +0200
commit8a1850f6b1cc5d8985349011561c1cca0110999b (patch)
tree1bb3b5807de915dde4095484a2dd145a4b7b9e48 /apps/files_sharing
parentad283e40b48f48f1ce1827cf2983375a62076c95 (diff)
downloadnextcloud-server-8a1850f6b1cc5d8985349011561c1cca0110999b.tar.gz
nextcloud-server-8a1850f6b1cc5d8985349011561c1cca0110999b.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/files_sharing')
-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}"',