in website-creator/js/connectflows.js [798:828]
function saveCookie(){
dlgSourceAccessKey=$("#dlgSourceAccessKey").val();
dlgSourceSecretKey=$("#dlgSourceSecretKey").val();
dlgSourceInstance=$("#dlgSourceInstance").val();
dlgSourceRegion=$("#dlgSourceRegion").val();
dlgSourceBackupDDB=$("#dlgSourceBackupDDB").val();
dlgSourceARNMapDDB=$("#dlgSourceARNMapDDB").val();
dlgTargetAccessKey=$("#dlgTargetAccessKey").val();
dlgTargetSecretKey=$("#dlgTargetSecretKey").val();
dlgTargetInstance=$("#dlgTargetInstance").val();
dlgTargetRegion=$("#dlgTargetRegion").val();
if(checkAllMandatoryFields()){
setCookie("dlgSourceAccessKey", dlgSourceAccessKey,100);
setCookie("dlgSourceSecretKey", dlgSourceSecretKey,100 );
setCookie("dlgSourceInstance", dlgSourceInstance,100);
setCookie("dlgSourceRegion", dlgSourceRegion,100);
setCookie("dlgSourceBackupDDB", dlgSourceBackupDDB,100);
setCookie("dlgSourceARNMapDDB", dlgSourceARNMapDDB,100);
setCookie("dlgTargetAccessKey", dlgTargetAccessKey,100);
setCookie("dlgTargetSecretKey", dlgTargetSecretKey,100);
setCookie("dlgTargetInstance", dlgTargetInstance,100);
setCookie("dlgTargetRegion", dlgTargetRegion,100);
$('#spnAWSMessage').text('');
return true;
}else{
$('#spnAWSMessage').text('All fields are mandatory and cannot be whitespaces or null');
return false;
}
}