Skip to content
Snippets Groups Projects
Commit 32c8492f authored by Dave Greenberg's avatar Dave Greenberg
Browse files

CRM-13442 - Adding warning for 4.3 when admin switches from Redirect DB mode...

CRM-13442 - Adding warning for 4.3 when admin switches from Redirect DB mode to a live mode telling them to check for Scheduled test mailings.

----------------------------------------
* CRM-13442: Update Outbound Email help text
  http://issues.civicrm.org/jira/browse/CRM-13442
parent c4c78d3b
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,10 @@
{literal}
<script type="text/javascript">
cj( function( ) {
var mailSetting = cj("input[name='outBound_option']:checked").val( );
var archiveWarning = "{/literal}{ts escape='js'}WARNING: You are switching from a testing mode (Redirect to Database) to a live mode. Check Mailings > Archived Mailings, and delete any test mailings that are not in Completed status prior to running the mailing cron job for the first time. This will ensure that test mailings are not actually sent out.{/ts}{literal}"
showHideMailOptions( cj("input[name='outBound_option']:checked").val( ) ) ;
function showHideMailOptions( value ) {
......@@ -108,15 +112,24 @@
cj("#bySMTP").show( );
cj("#bySendmail").hide( );
cj("#_qf_Smtp_refresh_test").show( );
if (mailSetting == '5') {
alert(archiveWarning);
}
break;
case "1":
cj("#bySMTP").hide( );
cj("#bySendmail").show( );
cj("#_qf_Smtp_refresh_test").show( );
if (mailSetting == '5') {
alert(archiveWarning);
}
break;
case "3":
cj('.mailoption').hide();
cj("#_qf_Smtp_refresh_test").show( );
if (mailSetting == '5') {
alert(archiveWarning);
}
break;
default:
cj("#bySMTP").hide( );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment