From: monishdeb Date: Wed, 31 Jul 2013 14:32:28 +0000 (+0530) Subject: CRM-8813 fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=86ef747f9918cdbd8744bb23bc09d730658a142f;p=civicrm-core.git CRM-8813 fix ---------------------------------------- * CRM-8813: Fix token insert cursor placement issue in Plain Text message body on IE 8 http://issues.civicrm.org/jira/browse/CRM-8813 --- diff --git a/templates/CRM/Mailing/Form/InsertTokens.tpl b/templates/CRM/Mailing/Form/InsertTokens.tpl index 448d2776f5..c8918cb5a9 100644 --- a/templates/CRM/Mailing/Form/InsertTokens.tpl +++ b/templates/CRM/Mailing/Form/InsertTokens.tpl @@ -291,6 +291,9 @@ function tokenReplText(element) { if ( element.id == 'token3' ) { ( isMailing ) ? text_message = "subject" : text_message = "msg_subject"; } + else if ( element.id == 'token1' ) { + text_message = "text_message"; + } cj( "#"+ text_message ).replaceSelection( token );