From d3c81b6bca57881daca8ee9e1a1e2550a8dbaa64 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 31 Jul 2013 21:21:44 +0530 Subject: [PATCH] CRM-8813 Message Template 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Mailing/Form/InsertTokens.tpl b/templates/CRM/Mailing/Form/InsertTokens.tpl index c8918cb5a9..425693049e 100644 --- a/templates/CRM/Mailing/Form/InsertTokens.tpl +++ b/templates/CRM/Mailing/Form/InsertTokens.tpl @@ -292,7 +292,7 @@ function tokenReplText(element) { ( isMailing ) ? text_message = "subject" : text_message = "msg_subject"; } else if ( element.id == 'token1' ) { - text_message = "text_message"; + ( isMailing ) ? text_message = "text_message" : text_message = "msg_text"; } cj( "#"+ text_message ).replaceSelection( token ); -- 2.25.1