CRM-8813 fix
authormonishdeb <monish.deb@webaccess.co.in>
Wed, 31 Jul 2013 14:32:28 +0000 (20:02 +0530)
committermonishdeb <monish.deb@webaccess.co.in>
Wed, 31 Jul 2013 14:32:28 +0000 (20:02 +0530)
----------------------------------------
* 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

index 448d2776f5757b854e4a7d5e174686623f4415f8..c8918cb5a98f823a58ad2ffb57593d9705007745 100644 (file)
@@ -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 );