diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-07-15 10:12:47 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-07-15 12:28:29 +0200 |
commit | 7af608881bb1ae8f3b08cae63a0e4b03891f1ed5 (patch) | |
tree | cfbdc292ad03db00e6fef57d94e0c9ab5306e10a | |
parent | 4e684b9e9dd7c31e04d65e506dfe6e0bb0eaccdb (diff) | |
download | nextcloud-server-7af608881bb1ae8f3b08cae63a0e4b03891f1ed5.tar.gz nextcloud-server-7af608881bb1ae8f3b08cae63a0e4b03891f1ed5.zip |
Added notification.
-rw-r--r-- | apps/contacts/js/contacts.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index a9fe38ead1a..f859f8385ce 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -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; |