From 7af608881bb1ae8f3b08cae63a0e4b03891f1ed5 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sun, 15 Jul 2012 10:12:47 +0200 Subject: [PATCH] Added notification. --- apps/contacts/js/contacts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;