mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Added notification.
This commit is contained in:
parent
e7eff9055f
commit
5f8e992fd0
@ -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 New Issue
Block a user