if ($('#send_file_info_' + iFileID + ' textarea[name=description]').val()=='') {
$('#send_file_info_' + iFileID + ' textarea[name=description]').parent().parent().parent()children('.warn').show().attr('float_info', _t('_bx_photos_val_descr_err'));
bRes = false;
}
else
$('#send_file_info_' + iFileID + ' textarea[name=description]').parent().parent().parent()children('.warn').hide();
That's why when user uploads photos and if he didn't wrote description nothing happens! And there are no any alerts about it.