News – EUTM
';
                        jQuery('#'+'_csnews_WAR_csnewsportlet_'+'operationResult').append(html);
                        jQuery("#modal-confirm").modal('show');
                    }else{
                        var recipientsString = '';
                        var i = 0;
                        var mailSubject = jQuery('#'+'_csnews_WAR_csnewsportlet_'+'subject').val();
                        var mailHead = 'The email';
                        var mailTrail =  'has been sent to';
                        jQuery('#'+'_csnews_WAR_csnewsportlet_'+'added-emails').children().each(function(index) {            
                            recipientsString += jQuery(this).last().text().split(' ')[1]+',';
                            i++;
                        });  
                        jQuery("#modal-share").modal('hide');                           
                        jQuery('#'+'_csnews_WAR_csnewsportlet_'+'operationResult').empty();
                        var html = '<div class="alert alert-ohim alert-success" readability="10">'+mailHead+'<strong> "'+ mailSubject+'"</strong> '+mailTrail+'('+i+'):

‘+recipientsString.substring(0,(recipientsString.length-1))+’