+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
if (prefix == "SMS") {
text_message = "sms_text_message";
}
- else {
- cj("#subject").val( data.subject );
- }
if ( data.msg_text ) {
cj("#"+text_message).val( data.msg_text );
cj("div.text").show();
if (prefix == "SMS") {
return;
}
+ else {
+ cj("#subject").val( data.subject );
+ }
var html_body = "";
if ( data.msg_html ) {
html_body = data.msg_html;