mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Added notification.
This commit is contained in:
parent
4e684b9e9d
commit
7af608881b
1 changed files with 2 additions and 1 deletions
|
|
@ -1787,7 +1787,8 @@ $(document).ready(function(){
|
|||
},
|
||||
fail: function(e, data) {
|
||||
console.log('fail');
|
||||
// TODO: cancel upload & display error notification
|
||||
Contacts.UI.notify(data.errorThrown + ': ' + data.textStatus);
|
||||
// TODO: Remove file from upload queue.
|
||||
},
|
||||
progressall: function(e, data) {
|
||||
var progress = (data.loaded/data.total)*50;
|
||||
|
|
|
|||
Loading…
Reference in a new issue