if (filex.files.some(function(item) { return item.get('name') == name })) {
$('<div>', {
'class': 'alert alert-danger',
- html: '<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> Plik o podanej już nazwie istnieje!'
+ html: '<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> Plik o podanej nazwie już istnieje!'
}).prependTo(modal.find('.modal-body'));
return true;