summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-04-15 12:03:42 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-04-15 12:03:42 +0200
commit93c1ef4e7c907ed001c6fa901238f2a076d37682 (patch)
tree70737148193b33ecbae084c06ee4937e7c39492b /js
parent70d1fd9c38372115248a9da9705f34e523e3c549 (diff)
parent2f1d31ddd49b8e9d4f10e2b015a1e7348ae1f867 (diff)
Merge pull request #361 from owncloud/feedback-on-import-of-unknown-file-type
Tell the user that the file type was wrong on import
Diffstat (limited to 'js')
-rw-r--r--js/services/contact_service.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/services/contact_service.js b/js/services/contact_service.js
index 76e7052b..a00cc262 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.'));
}
};