diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-15 11:19:11 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-15 11:19:11 +0200 |
commit | 2f1d31ddd49b8e9d4f10e2b015a1e7348ae1f867 (patch) | |
tree | 64009e3a5b3f93b39d5a0069662cbd3ac2a757e0 /js | |
parent | 5a8b7860e3186127ed3509e837e9a0db23c21a42 (diff) |
Tell the user that the file type was wrong on import
Diffstat (limited to 'js')
-rw-r--r-- | js/services/contact_service.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/services/contact_service.js b/js/services/contact_service.js index 1511027c..90959078 100644 --- a/js/services/contact_service.js +++ b/js/services/contact_service.js @@ -121,6 +121,8 @@ angular.module('contactsApp') num++; }); } + } else { + OC.Notification.showTemporary(t('contacts', 'Invalid file type.')); } }; |