if(contentTypeSesgroup == 'photo') {
scriptJquery('.sesgroup_photo_update_popup_header').html('Click to Take Photo');
scriptJquery('.capturePhoto').html('Take Photo');
scriptJquery('.sesgroup_select_photo_popup_header').html('Select a photo');
}
else {
scriptJquery('.sesgroup_photo_update_popup_header').html('Click to Take Cover Photo');
scriptJquery('.capturePhoto').html('Take Cover Photo');
scriptJquery('.sesgroup_select_photo_popup_header').html('Select a Cover photo');
}
Webcam.set({
width: 320,
height: 240,
image_format:'jpeg',
jpeg_quality: 90
});
Webcam.attach('#sesgroup_camera');
});
function hideProfilePhotoUpload(){
if(typeof Webcam != 'undefined')
Webcam.reset();
canPaginateGroupNumber = 1;
scriptJquery('#sesgroup_popup_cam_upload').hide();
scriptJquery('#sesgroup_popup_existing_upload').hide();
if(typeof Webcam != 'undefined'){
scriptJquery('.slimScrollDiv').remove();
scriptJquery('.sesgroup_photo_update_popup_content').html('

');
}
}
function take_snapshot() {
// take snapshot and get image data
Webcam.snap(function(data_uri) {
Webcam.reset();
scriptJquery('#sesgroup_popup_cam_upload').hide();
// upload results
scriptJquery('.sesgroup_cover_inner').append('
');
Webcam.upload( data_uri, en4.core.baseUrl+'sesgroup/profile/upload-'+contentTypeSesgroup+'/id/4' , function(code, text) {
response = scriptJquery.parseJSON(text);
scriptJquery('#sesgroup_cover_loading').remove();
scriptJquery('#sesgroup_'+contentTypeSesgroup+'_id').attr('src', response.file);
scriptJquery('#'+contentTypeSesgroup+'Changesesgroup').html('
'+en4.core.language.translate('Change '+contentTypeSesgroup == "cover"?"Cover":""+' Photo'));
scriptJquery('#sesgroup_'+contentTypeSesgroup+'_photo_reposition').css('display','block');
scriptJquery('#'+contentTypeSesgroup+'Removesesgroup').css('display','block');
scriptJquery('#sesgroup_'+contentTypeSesgroup+'_id_main').attr('src', response.file);
scriptJquery('#photoChangesesgroup_4').html('
'+en4.core.language.translate('Change Photo')); scriptJquery('#photoRemovesesgroup_4').css('display','block');
} );
});
}
-->
Locked Group
Seems you enter wrong password click here
to enter password again.