From 5eb8ac13982a840a11644fe88b934cf065e311ab Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sat, 22 Mar 2014 21:33:36 +0100 Subject: [PATCH] Fix translation string wording --- js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/app.js b/js/app.js index 4520ee44..714188d8 100644 --- a/js/app.js +++ b/js/app.js @@ -781,13 +781,13 @@ OC.Contacts = OC.Contacts || { acceptFileTypes: /^image\//, add: function(e, data) { var file = data.files[0]; - /*if (file.type.substr(0, 6) !== 'image/') { + if (file.type.substr(0, 6) !== 'image/') { $(document).trigger('status.contacts.error', { error: true, - message: t('contacts', 'Only images can be used as contact photo') + message: t('contacts', 'Only images can be used as contact photos') }); return; - }*/ + } if (file.size > parseInt($(this).siblings('[name="MAX_FILE_SIZE"]').val())) { $(document).trigger('status.contacts.error', { error: true,