projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c81d365
)
Fix issue of now not already filterinng down to object within values array
author
Seamus Lee
<seamuslee001@gmail.com>
Sun, 9 Aug 2015 05:13:49 +0000
(
05:13
+0000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Sun, 9 Aug 2015 05:13:49 +0000
(
05:13
+0000)
ang/crmMailing/MsgTemplateCtrl.js
patch
|
blob
|
blame
|
history
diff --git
a/ang/crmMailing/MsgTemplateCtrl.js
b/ang/crmMailing/MsgTemplateCtrl.js
index d8873075a4a34b87a7091dd76c94c99a1e3cee4e..c5147b0b627c692677f2382f05a2de8408f3eec4 100644
(file)
--- a/
ang/crmMailing/MsgTemplateCtrl.js
+++ b/
ang/crmMailing/MsgTemplateCtrl.js
@@
-33,9
+33,9
@@
// @return Promise
$scope.loadTemplate = function loadTemplate(mailing, id) {
return crmMsgTemplates.get(id).then(function(tpl) {
- mailing.subject = tpl.msg_subject;
- mailing.body_text = tpl.msg_text;
- mailing.body_html = tpl.msg_html;
+ mailing.subject = tpl.
values[0].
msg_subject;
+ mailing.body_text = tpl.
values[0].
msg_text;
+ mailing.body_html = tpl.
values[0].
msg_html;
});
};
});