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>
This commit is contained in:
Daniel Calviño Sánchez 2017-08-18 14:08:51 +02:00
parent 0d956cb4aa
commit 2860ce027a
1 changed files with 1 additions and 1 deletions

View File

@ -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}"',