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:
parent
ad283e40b4
commit
8a1850f6b1
|
@ -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}"',
|
||||
|
|
Loading…
Reference in New Issue