From 86ef747f9918cdbd8744bb23bc09d730658a142f Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 31 Jul 2013 20:02:28 +0530 Subject: [PATCH] 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 --- templates/CRM/Mailing/Form/InsertTokens.tpl | 3 +++ 1 file changed, 3 insertions(+) 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 ); -- 2.25.1