1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Fix translation string wording

This commit is contained in:
Thomas Tanghus 2014-03-22 21:33:36 +01:00
parent 2aa97eeece
commit 5eb8ac1398

View File

@ -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,